Completed
Push — resourceloader ( bd9fec )
by Sam
09:26
created
src/Core/Manifest/ResourceLoader.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
         self::$instance = $instance;
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $base
46
+     */
44 47
     public function __construct($base = null)
45 48
     {
46 49
         $this->base = $base ? $base : BASE_PATH;
@@ -50,7 +53,7 @@  discard block
 block discarded – undo
50 53
      * Add a new theme manifest for a given identifier. E.g. '$default'
51 54
      *
52 55
      * @param string $set
53
-     * @param ThemeList $manifest
56
+     * @param \SilverStripe\View\ThemeManifest $manifest
54 57
      */
55 58
     public function addSet($set, ThemeList $manifest)
56 59
     {
Please login to merge, or discard this patch.
tests/php/Core/Manifest/ResourceLoaderTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -279,6 +279,9 @@  discard block
 block discarded – undo
279 279
         );
280 280
     }
281 281
 
282
+    /**
283
+     * @param string[] $templates
284
+     */
282 285
     protected function createTestTemplates($templates)
283 286
     {
284 287
         foreach ($templates as $template) {
@@ -286,6 +289,9 @@  discard block
 block discarded – undo
286 289
         }
287 290
     }
288 291
 
292
+    /**
293
+     * @param string[] $templates
294
+     */
289 295
     protected function removeTestTemplates($templates)
290 296
     {
291 297
         foreach ($templates as $template) {
Please login to merge, or discard this patch.