@@ -367,6 +367,10 @@ |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -51,7 +51,6 @@ |
||
51 | 51 | * interface is passed as alias then every time that interface is requested the provided service will be returned. |
52 | 52 | * |
53 | 53 | * @param object $service |
54 | - * @param string $alias |
|
55 | 54 | * |
56 | 55 | * @return void |
57 | 56 | */ |
@@ -43,6 +43,9 @@ |
||
43 | 43 | /** @var string The version vector. */ |
44 | 44 | private $version = ''; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $version |
|
48 | + */ |
|
46 | 49 | public function __construct($version = null, Description $description = null) |
47 | 50 | { |
48 | 51 | Assert::nullOrStringNotEmpty($version); |
@@ -219,6 +219,9 @@ |
||
219 | 219 | return $arguments; |
220 | 220 | } |
221 | 221 | |
222 | + /** |
|
223 | + * @return string |
|
224 | + */ |
|
222 | 225 | private static function stripRestArg($argument) |
223 | 226 | { |
224 | 227 | if (strpos($argument, '...') === 0) { |
@@ -43,6 +43,9 @@ |
||
43 | 43 | /** @var string The version vector. */ |
44 | 44 | private $version = ''; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $version |
|
48 | + */ |
|
46 | 49 | public function __construct($version = null, Description $description = null) |
47 | 50 | { |
48 | 51 | Assert::nullOrStringNotEmpty($version); |
@@ -43,6 +43,9 @@ |
||
43 | 43 | /** @var string The version vector. */ |
44 | 44 | private $version = ''; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $version |
|
48 | + */ |
|
46 | 49 | public function __construct($version = null, Description $description = null) |
47 | 50 | { |
48 | 51 | Assert::nullOrStringNotEmpty($version); |
@@ -103,6 +103,10 @@ discard block |
||
103 | 103 | ); |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param integer $tagName |
|
108 | + * @param string $handler |
|
109 | + */ |
|
106 | 110 | public function registerTagHandler($tagName, $handler) |
107 | 111 | { |
108 | 112 | $this->tagFactory->registerTagHandler($tagName, $handler); |
@@ -254,7 +258,7 @@ discard block |
||
254 | 258 | } |
255 | 259 | |
256 | 260 | /** |
257 | - * @param $tags |
|
261 | + * @param string $tags |
|
258 | 262 | * @return string |
259 | 263 | */ |
260 | 264 | private function filterTagBlock($tags) |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | else { |
70 | 70 | throw new InvalidArgumentException( |
71 | - 'Template file could not be loaded.' |
|
71 | + 'Template file could not be loaded.' |
|
72 | 72 | ); |
73 | 73 | } |
74 | 74 | } |
@@ -120,14 +120,14 @@ discard block |
||
120 | 120 | $error = error_get_last(); |
121 | 121 | |
122 | 122 | throw new RuntimeException( |
123 | - sprintf( |
|
123 | + sprintf( |
|
124 | 124 | 'Could not write to %s: %s', |
125 | 125 | $target, |
126 | 126 | substr( |
127 | - $error['message'], |
|
128 | - strpos($error['message'], ':') + 2 |
|
127 | + $error['message'], |
|
128 | + strpos($error['message'], ':') + 2 |
|
129 | + ) |
|
129 | 130 | ) |
130 | - ) |
|
131 | 131 | ); |
132 | 132 | } |
133 | 133 | } |
@@ -56,10 +56,10 @@ |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * Gets the link |
|
60 | - * |
|
61 | - * @return string |
|
62 | - */ |
|
59 | + * Gets the link |
|
60 | + * |
|
61 | + * @return string |
|
62 | + */ |
|
63 | 63 | public function getLink() |
64 | 64 | { |
65 | 65 | return $this->link; |