Completed
Push — master ( 0a725b...d2060c )
by Sam
02:39
created
behat/features/bootstrap/SilverStripe/Cms/Test/Behaviour/ThemeContext.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         $this->requireFile(BASE_PATH . '/themes/' . $theme . '/templates/' . $template, $content);
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $filename
57
+     */
55 58
     protected function requireFile($filename, $content)
56 59
     {
57 60
         // Already exists
@@ -69,6 +72,9 @@  discard block
 block discarded – undo
69 72
         }
70 73
     }
71 74
 
75
+    /**
76
+     * @param string $dirname
77
+     */
72 78
     protected function requireDir($dirname)
73 79
     {
74 80
         // Directory doesn't exist, create it and mark it for deletion
Please login to merge, or discard this patch.
code/Controller/AssetAdmin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      * Creates a single file based on a form-urlencoded upload.
314 314
      *
315 315
      * @param SS_HTTPRequest $request
316
-     * @return SS_HTTPRequest|SS_HTTPResponse
316
+     * @return SS_HTTPResponse
317 317
      */
318 318
     public function apiCreateFile(SS_HTTPRequest $request)
319 319
     {
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
      * Creates a single folder, within an optional parent folder.
375 375
      *
376 376
      * @param SS_HTTPRequest $request
377
-     * @return SS_HTTPRequest|SS_HTTPResponse
377
+     * @return SS_HTTPResponse
378 378
      */
379 379
     public function apiCreateFolder(SS_HTTPRequest $request)
380 380
     {
Please login to merge, or discard this patch.