@@ -68,6 +68,9 @@ discard block  | 
                                                    ||
| 68 | 68 | return $this;  | 
                                                        
| 69 | 69 | }  | 
                                                        
| 70 | 70 | |
| 71 | + /**  | 
                                                        |
| 72 | + * @param string $content  | 
                                                        |
| 73 | + */  | 
                                                        |
| 71 | 74 |      public function itemprop(string $name, ?string $content) : Meta { | 
                                                        
| 72 | 75 |          if (!$content) { | 
                                                        
| 73 | 76 | return $this;  | 
                                                        
@@ -79,6 +82,9 @@ discard block  | 
                                                    ||
| 79 | 82 | return $this;  | 
                                                        
| 80 | 83 | }  | 
                                                        
| 81 | 84 | |
| 85 | + /**  | 
                                                        |
| 86 | + * @param string $content  | 
                                                        |
| 87 | + */  | 
                                                        |
| 82 | 88 |      public function property(string $property, ?string $content) : Meta { | 
                                                        
| 83 | 89 |          if (!$content) { | 
                                                        
| 84 | 90 | return $this;  | 
                                                        
@@ -26,7 +26,7 @@  | 
                                                    ||
| 26 | 26 |      { | 
                                                        
| 27 | 27 | $contents = File::read($this->unparsed);  | 
                                                        
| 28 | 28 | |
| 29 | -        if (! $contents) { | 
                                                        |
| 29 | +        if (!$contents) { | 
                                                        |
| 30 | 30 | throw InvalidConfiguration::fileNotFound($this->unparsed);  | 
                                                        
| 31 | 31 | }  | 
                                                        
| 32 | 32 | |
@@ -36,7 +36,7 @@  | 
                                                    ||
| 36 | 36 | |
| 37 | 37 | private function setTwigRule(): void  | 
                                                        
| 38 | 38 |      { | 
                                                        
| 39 | -        $this->setRule(TwigRenderer::class, function ($value) { | 
                                                        |
| 39 | +        $this->setRule(TwigRenderer::class, function($value) { | 
                                                        |
| 40 | 40 |              if ($value === 'twig') { | 
                                                        
| 41 | 41 | return TwigRenderer::make($this->templateDirectory);  | 
                                                        
| 42 | 42 | }  | 
                                                        
@@ -12,7 +12,7 @@  | 
                                                    ||
| 12 | 12 |      { | 
                                                        
| 13 | 13 | $fs = new Filesystem();  | 
                                                        
| 14 | 14 | |
| 15 | -        if (! $fs->exists($templateDirectory)) { | 
                                                        |
| 15 | +        if (!$fs->exists($templateDirectory)) { | 
                                                        |
| 16 | 16 | $fs->mkdir($templateDirectory);  | 
                                                        
| 17 | 17 | }  | 
                                                        
| 18 | 18 | |
@@ -27,7 +27,7 @@ discard block  | 
                                                    ||
| 27 | 27 |      { | 
                                                        
| 28 | 28 | $path = self::path($path);  | 
                                                        
| 29 | 29 | |
| 30 | -        if (! file_exists(self::path($path))) { | 
                                                        |
| 30 | +        if (!file_exists(self::path($path))) { | 
                                                        |
| 31 | 31 | return null;  | 
                                                        
| 32 | 32 | }  | 
                                                        
| 33 | 33 | |
@@ -38,7 +38,7 @@ discard block  | 
                                                    ||
| 38 | 38 | |
| 39 | 39 | public static function write(string $path, $content = null): void  | 
                                                        
| 40 | 40 |      { | 
                                                        
| 41 | -        if (! self::$fs) { | 
                                                        |
| 41 | +        if (!self::$fs) { | 
                                                        |
| 42 | 42 | self::$fs = new Filesystem();  | 
                                                        
| 43 | 43 | }  | 
                                                        
| 44 | 44 | |
@@ -43,7 +43,7 @@ discard block  | 
                                                    ||
| 43 | 43 | |
| 44 | 44 | protected function getRequest(): Request  | 
                                                        
| 45 | 45 |      { | 
                                                        
| 46 | -        if (! $this->request) { | 
                                                        |
| 46 | +        if (!$this->request) { | 
                                                        |
| 47 | 47 | $this->request = ServerRequest::fromGlobals();  | 
                                                        
| 48 | 48 | }  | 
                                                        
| 49 | 49 | |
@@ -61,7 +61,7 @@ discard block  | 
                                                    ||
| 61 | 61 | |
| 62 | 62 | protected function handleDynamicRoute(): ?Response  | 
                                                        
| 63 | 63 |      { | 
                                                        
| 64 | -        if (! $this->router) { | 
                                                        |
| 64 | +        if (!$this->router) { | 
                                                        |
| 65 | 65 | return null;  | 
                                                        
| 66 | 66 | }  | 
                                                        
| 67 | 67 | |
@@ -73,7 +73,7 @@ discard block  | 
                                                    ||
| 73 | 73 |          try { | 
                                                        
| 74 | 74 | $response = $this->handleStaticRoute();  | 
                                                        
| 75 | 75 | |
| 76 | -            if (! $response) { | 
                                                        |
| 76 | +            if (!$response) { | 
                                                        |
| 77 | 77 | $response = $this->handleDynamicRoute();  | 
                                                        
| 78 | 78 | }  | 
                                                        
| 79 | 79 |          } catch (StitcherException $e) { | 
                                                        
@@ -19,7 +19,7 @@  | 
                                                    ||
| 19 | 19 | array $adapterConfiguration,  | 
                                                        
| 20 | 20 | VariableParser $variableParser  | 
                                                        
| 21 | 21 |      ) { | 
                                                        
| 22 | -        if (! $this->isValidConfiguration($adapterConfiguration)) { | 
                                                        |
| 22 | +        if (!$this->isValidConfiguration($adapterConfiguration)) { | 
                                                        |
| 23 | 23 |              throw InvalidConfiguration::invalidAdapterConfiguration('filter', '`field`: `filter`'); | 
                                                        
| 24 | 24 | }  | 
                                                        
| 25 | 25 | |
@@ -28,7 +28,7 @@ discard block  | 
                                                    ||
| 28 | 28 | array $adapterConfiguration,  | 
                                                        
| 29 | 29 | VariableParser $variableParser  | 
                                                        
| 30 | 30 |      ) { | 
                                                        
| 31 | -        if (! $this->isValidConfiguration($adapterConfiguration)) { | 
                                                        |
| 31 | +        if (!$this->isValidConfiguration($adapterConfiguration)) { | 
                                                        |
| 32 | 32 | throw InvalidCollectionAdapter::create();  | 
                                                        
| 33 | 33 | }  | 
                                                        
| 34 | 34 | |
@@ -157,7 +157,7 @@ discard block  | 
                                                    ||
| 157 | 157 | |
| 158 | 158 | $prev = prev($this->entries);  | 
                                                        
| 159 | 159 | |
| 160 | -        if (! $prev) { | 
                                                        |
| 160 | +        if (!$prev) { | 
                                                        |
| 161 | 161 | reset($this->entries);  | 
                                                        
| 162 | 162 |          } else { | 
                                                        
| 163 | 163 | $browse['prev'] = $prev;  | 
                                                        
@@ -25,7 +25,7 @@ discard block  | 
                                                    ||
| 25 | 25 | array $adapterConfiguration,  | 
                                                        
| 26 | 26 | VariableParser $variableParser  | 
                                                        
| 27 | 27 |      ) { | 
                                                        
| 28 | -        if (! $this->isValidConfiguration($adapterConfiguration)) { | 
                                                        |
| 28 | +        if (!$this->isValidConfiguration($adapterConfiguration)) { | 
                                                        |
| 29 | 29 | throw InvalidPaginationAdapter::create();  | 
                                                        
| 30 | 30 | }  | 
                                                        
| 31 | 31 | |
@@ -150,6 +150,6 @@ discard block  | 
                                                    ||
| 150 | 150 | |
| 151 | 151 | protected function createPaginatedUrl(string $pageId, int $index): string  | 
                                                        
| 152 | 152 |      { | 
                                                        
| 153 | -        return str_replace('{' .$this->parameter. '}', $index, $pageId); | 
                                                        |
| 153 | +        return str_replace('{' . $this->parameter . '}', $index, $pageId); | 
                                                        |
| 154 | 154 | }  | 
                                                        
| 155 | 155 | }  |