@@ -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 | |
@@ -67,7 +67,7 @@  | 
                                                    ||
| 67 | 67 |          foreach ($configurationFiles as $configurationFile) { | 
                                                        
| 68 | 68 | $loadedFileConfiguration = require $configurationFile;  | 
                                                        
| 69 | 69 | |
| 70 | -            if (! is_array($loadedFileConfiguration)) { | 
                                                        |
| 70 | +            if (!is_array($loadedFileConfiguration)) { | 
                                                        |
| 71 | 71 | continue;  | 
                                                        
| 72 | 72 | }  | 
                                                        
| 73 | 73 | |
@@ -155,7 +155,7 @@  | 
                                                    ||
| 155 | 155 |      { | 
                                                        
| 156 | 156 |          $routeFile = File::path('src/routes.php'); | 
                                                        
| 157 | 157 | |
| 158 | -        if (! file_exists($routeFile)) { | 
                                                        |
| 158 | +        if (!file_exists($routeFile)) { | 
                                                        |
| 159 | 159 | return;  | 
                                                        
| 160 | 160 | }  | 
                                                        
| 161 | 161 | |
@@ -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 | |