Completed
Push — 4.0 ( f98af2...c25703 )
by Marc André
03:49
created
src/PhpStormMetadata.php 1 patch
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 {
143 143
     \$STATIC_METHOD_TYPES = [
144 144
 
145
-METADATA;
145
+metadata;
146 146
     }
147 147
 
148 148
     private static function phpstormMetadataLibraries($cervo_libraries, $libraries)
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         $towrite = <<<METADATA
151 151
         \Cervo\Core::getLibrary('') => [
152 152
 
153
-METADATA;
153
+metadata;
154 154
 
155 155
         foreach ($cervo_libraries as $f) {
156 156
             $class = str_replace('/', '\\', $f);
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
         $towrite .= <<<METADATA
173 173
         ],
174 174
 
175
-METADATA;
175
+metadata;
176 176
 
177 177
         return $towrite;
178 178
     }
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $towrite = <<<METADATA
183 183
         \Cervo\Core::{$function_call}('') => [
184 184
 
185
-METADATA;
185
+metadata;
186 186
 
187 187
         foreach ($classes as $f) {
188 188
             $ex = explode('/', $f);
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         $towrite .= <<<METADATA
199 199
         ],
200 200
 
201
-METADATA;
201
+metadata;
202 202
 
203 203
         return $towrite;
204 204
     }
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     ];
226 226
 }
227 227
 
228
-METADATA;
228
+metadata;
229 229
     }
230 230
 
231 231
     /**
Please login to merge, or discard this patch.
src/Core.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *
74 74
      * @param string|null $json_config_file The path to the JSON configuration file to use.
75 75
      */
76
-    public static function init(?string $json_config_file = null) : void
76
+    public static function init(? string $json_config_file = null) : void
77 77
     {
78 78
         // Check if the system is already initiated
79 79
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      *
134 134
      * @param string|null $json_config_file
135 135
      */
136
-    public static function initConfig(?string $json_config_file = null) : void
136
+    public static function initConfig(? string $json_config_file = null) : void
137 137
     {
138 138
         // Check if the system is already initiated
139 139
 
Please login to merge, or discard this patch.
src/Libraries/Events.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         $this->inProgress = $name;
154 154
 
155
-        usort($this->events[$name], function ($a, $b) {
155
+        usort($this->events[$name], function($a, $b) {
156 156
             return $a['priority'] <=> $b['priority'];
157 157
         });
158 158
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      *
171 171
      * @return string|null
172 172
      */
173
-    public function getInProgress() : ?string
173
+    public function getInProgress() : ? string
174 174
     {
175 175
         return $this->inProgress;
176 176
     }
Please login to merge, or discard this patch.
src/Libraries/Router.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
     /**
181 181
      * Add a new route.
182 182
      *
183
-     * @param string|string[] $http_method The HTTP method, example: GET, POST, PATCH, PUT, DELETE, CLI, etc. Can be an array of values.
183
+     * @param string $http_method The HTTP method, example: GET, POST, PATCH, PUT, DELETE, CLI, etc. Can be an array of values.
184 184
      * @param string $route The route
185 185
      * @param string $method_path The Method Path
186 186
      * @param array $parameters The parameters to pass
Please login to merge, or discard this patch.