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 /**
@@ -117,7 +120,7 @@ public function asHsla(): HslaColor
117120 case $ g : $ h = ($ b - $ r ) / $ d + 2 ; break ;
118121 case $ b : $ h = ($ r - $ g ) / $ d + 4 ; break ;
119122 default :
120- throw new Exception ('this should never happen ' );
123+ throw new \ Exception ('this should never happen ' );
121124 }
122125
123126 $ h /= 6 ;
You can’t perform that action at this time.
0 commit comments