Completed
Pull Request — master (#7062)
by Sam
07:59
created
src/Core/Manifest/ResourceLoader.php 1 patch
Doc Comments   +4 added 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;
@@ -92,6 +95,7 @@  discard block
 block discarded – undo
92 95
      * may be added in the future.
93 96
      *
94 97
      * @param string|array $module A module or list of modules to
98
+     * @param string $resource
95 99
      * @return string|null The URL of the resource, if it exists
96 100
      */
97 101
     public function getResourceURL($module, $resource)
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.