Completed
Push — master ( d635bf...d10e41 )
by Vitaly
02:50
created
src/Router.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -1,12 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace samsonphp\resource;
3 3
 
4
-use Aws\CloudFront\Exception\Exception;
5 4
 use samson\core\ExternalModule;
6
-use samson\core\Module;
7
-use samsonframework\resource\ResourceMap;
8 5
 use samsonphp\event\Event;
9
-use samsonphp\resource\exception\ResourceNotFound;
10 6
 
11 7
 /**
12 8
  * Resource router for serving static resource from unreachable web-root paths.
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Get path static resources list filtered by extensions.
88 88
      *
89
-     * @param array $path Paths for static resources scanning
89
+     * @param array $paths Paths for static resources scanning
90 90
      * @param string $extension Resource type
91 91
      *
92 92
      * @return array Matched static resources collection with full paths
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     /**
136 136
      * Create static assets.
137 137
      *
138
-     * @param array  $paths Collection of paths for gathering resources
138
+     * @param string[]  $paths Collection of paths for gathering resources
139 139
      * @param string $type Resource extension
140 140
      */
141 141
     public function createAssets(array $paths, $type)
Please login to merge, or discard this patch.