@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | /** |
349 | 349 | * Check Plugin. |
350 | 350 | * |
351 | - * @return void |
|
351 | + * @return string|null |
|
352 | 352 | */ |
353 | 353 | protected function checkPlugin($plugin_key) |
354 | 354 | { |
@@ -400,6 +400,7 @@ discard block |
||
400 | 400 | |
401 | 401 | /** |
402 | 402 | * Copy all Plugin Assets to Public Directory. |
403 | + * @param boolean $force |
|
403 | 404 | */ |
404 | 405 | protected function copyPlugins($force = null) |
405 | 406 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * Resolve Compare. |
71 | 71 | * |
72 | - * @param $compare |
|
72 | + * @param integer|null $compare |
|
73 | 73 | * @return string |
74 | 74 | */ |
75 | 75 | protected function resolveCompare($compare) |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @param $asset_key |
90 | 90 | * @param $include_images |
91 | - * @return string |
|
91 | + * @return integer|null |
|
92 | 92 | */ |
93 | 93 | protected function checkAsset($asset_key, $include_images) |
94 | 94 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * @param $source_path |
109 | 109 | * @param $destination_path |
110 | 110 | * @param $source_base_path |
111 | - * @param $destination_base_path |
|
111 | + * @param string $destination_base_path |
|
112 | 112 | * @param $recursive |
113 | 113 | * @param $ignore |
114 | 114 | * @param $ignore_ending |
@@ -193,8 +193,8 @@ discard block |
||
193 | 193 | /** |
194 | 194 | * Compare File. |
195 | 195 | * |
196 | - * @param $source_file |
|
197 | - * @param $destination_file |
|
196 | + * @param string $source_file |
|
197 | + * @param string $destination_file |
|
198 | 198 | * @return int |
199 | 199 | */ |
200 | 200 | public function compareFile($source_file, $destination_file) |
@@ -21,8 +21,8 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Recursive function that copies an entire directory to a destination. |
23 | 23 | * |
24 | - * @param $source_directory |
|
25 | - * @param $destination_directory |
|
24 | + * @param string $source_directory |
|
25 | + * @param string $destination_directory |
|
26 | 26 | */ |
27 | 27 | public static function directoryCopy($source_directory, $destination_directory, $force = false, $recursive = false, $ignore = [], $ignore_ending = null) |
28 | 28 | { |
@@ -70,6 +70,8 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Compare Directories. |
72 | 72 | * |
73 | + * @param string $package_path |
|
74 | + * @param string $assets_path |
|
73 | 75 | * @return void |
74 | 76 | */ |
75 | 77 | public static function compareDirectories($package_path, $assets_path, $sub_folder = '', $ignore = [], $ignore_ending = [], $recursive = false, $internal = null) |
@@ -133,7 +135,7 @@ discard block |
||
133 | 135 | /** |
134 | 136 | * Rescursive directory remove. |
135 | 137 | * |
136 | - * @param $directory |
|
138 | + * @param string $directory |
|
137 | 139 | * @return void |
138 | 140 | */ |
139 | 141 | public static function removeDirectory($directory) |
@@ -73,6 +73,9 @@ |
||
73 | 73 | return array_filter(array_map([$this, 'applyFilters'], $items)); |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param string $direction |
|
78 | + */ |
|
76 | 79 | protected function addItem($itemKey, $direction, ...$newItems) |
77 | 80 | { |
78 | 81 | $items = $this->transformItems($newItems); |