Passed
Push — master ( e59319...214e16 )
by Caen
03:19 queued 12s
created
framework/src/Framework/Features/Blogging/Models/LocalFeaturedImage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 {
22 22
     protected function setSource(string $source): string
23 23
     {
24
-        if (! str_starts_with($source, '_media/')) {
24
+        if (!str_starts_with($source, '_media/')) {
25 25
             // Throwing an exception here ensures we have a super predictable state.
26 26
             throw new InvalidArgumentException('LocalFeaturedImage source must start with _media/');
27 27
         }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
     protected function storageValidatedPath(): string
51 51
     {
52
-        if (! file_exists($this->storagePath())) {
52
+        if (!file_exists($this->storagePath())) {
53 53
             throw new FileNotFoundException("Image at $this->source does not exist");
54 54
         }
55 55
 
Please login to merge, or discard this patch.