Completed
Push — master ( bafc4e...3bad92 )
by Nicolaas
01:13
created
code/control/WebpackPageControllerExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     /**
20 20
      *
21
-     * @return bool
21
+     * @return boolean|null
22 22
      */
23 23
     public function IsWebpackDevServer()
24 24
     {
Please login to merge, or discard this patch.
code/view/Requirements_Backend_For_Webpack.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,6 @@  discard block
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * we need this method because Requirements_Backend does not extend Object!
69
-     * @param array $array
70 69
      */
71 70
     public static function set_urls_to_exclude($a)
72 71
     {
@@ -250,7 +249,7 @@  discard block
 block discarded – undo
250 249
      *
251 250
      *
252 251
      *
253
-     * @return bool
252
+     * @return boolean|null
254 253
      */
255 254
     protected function canSaveRequirements()
256 255
     {
@@ -274,6 +273,9 @@  discard block
 block discarded – undo
274 273
         return Config::inst()->get('SSViewer', 'theme') && Config::inst()->get('SSViewer', 'theme_enabled') ? true : false;
275 274
     }
276 275
 
276
+    /**
277
+     * @param string $folderLocation
278
+     */
277 279
     protected function moveFileToRequirementsFolder($fileLocation, $folderLocation)
278 280
     {
279 281
         $base = Director::baseFolder();
@@ -329,6 +331,9 @@  discard block
 block discarded – undo
329 331
         }
330 332
     }
331 333
 
334
+    /**
335
+     * @param string $fileLocation
336
+     */
332 337
     protected function addLinesToFile($fileLocation, $line)
333 338
     {
334 339
         try {
Please login to merge, or discard this patch.