Completed
Push — master ( b435a9...d49713 )
by Nicolaas
01:29
created
code/view/Requirements_Backend_For_Webpack.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,6 @@  discard block
 block discarded – undo
107 107
 
108 108
     /**
109 109
      * we need this method because Requirements_Backend does not extend Object!
110
-     * @param array $array
111 110
      */
112 111
     public static function set_urls_to_exclude($a)
113 112
     {
@@ -339,7 +338,7 @@  discard block
 block discarded – undo
339 338
      *
340 339
      *
341 340
      *
342
-     * @return bool
341
+     * @return boolean|null
343 342
      */
344 343
     protected function canSaveRequirements()
345 344
     {
@@ -363,6 +362,9 @@  discard block
 block discarded – undo
363 362
         return Config::inst()->get('SSViewer', 'theme') && Config::inst()->get('SSViewer', 'theme_enabled') ? true : false;
364 363
     }
365 364
 
365
+    /**
366
+     * @param string $folderLocation
367
+     */
366 368
     protected function moveFileToRequirementsFolder($fileLocation, $folderLocation)
367 369
     {
368 370
         $base = Director::baseFolder();
@@ -405,6 +407,9 @@  discard block
 block discarded – undo
405 407
         }
406 408
     }
407 409
 
410
+    /**
411
+     * @param string $fileLocation
412
+     */
408 413
     protected function addLinesToFile($fileLocation, $line, $count = 0)
409 414
     {
410 415
         $line .= "\n";
Please login to merge, or discard this patch.