Passed
Push — master ( 10105b...1efe78 )
by Caen
03:18 queued 12s
created
packages/framework/src/Framework/Actions/CreatesNewPageSourceFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,14 +121,14 @@
 block discarded – undo
121 121
 
122 122
     protected function validateType(string $pageClass): void
123 123
     {
124
-        if (! in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) {
124
+        if (!in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) {
125 125
             throw new UnsupportedPageTypeException('The page type must be either "markdown", "blade", or "documentation"');
126 126
         }
127 127
     }
128 128
 
129 129
     protected function failIfFileCannotBeSaved(string $path): void
130 130
     {
131
-        if (file_exists($path) && ! $this->force) {
131
+        if (file_exists($path) && !$this->force) {
132 132
             throw new FileConflictException($path);
133 133
         }
134 134
     }
Please login to merge, or discard this patch.