File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Classes/Domain/ValueObject Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 44
55namespace PackageFactory \ColorHelper \Domain \ValueObject ;
66
7+ use Neos \Flow \Annotations as Flow ;
8+
9+ /**
10+ * @Flow\Proxy(false)
11+ */
712class HslaColor extends AbstractColor implements ColorInterface
813{
914 /**
Original file line number Diff line number Diff line change 44
55namespace PackageFactory \ColorHelper \Domain \ValueObject ;
66
7- use mysql_xdevapi \ Exception ;
7+ use Neos \ Flow \ Annotations as Flow ;
88
9+ /**
10+ * @Flow\Proxy(false)
11+ */
912class RgbaColor extends AbstractColor implements ColorInterface
1013{
1114 /**
@@ -125,7 +128,7 @@ public function asHsla(): HslaColor
125128 case $ g : $ h = ($ b - $ r ) / $ d + 2 ; break ;
126129 case $ b : $ h = ($ r - $ g ) / $ d + 4 ; break ;
127130 default :
128- throw new Exception ('this should never happen ' );
131+ throw new \ Exception ('this should never happen ' );
129132 }
130133
131134 $ h /= 6 ;
You can’t perform that action at this time.
0 commit comments