@@ -43,6 +43,9 @@ |
||
43 | 43 | return $this->container[$id]; |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $type |
|
48 | + */ |
|
46 | 49 | public function newInstance($type) |
47 | 50 | { |
48 | 51 | $reflection = new \ReflectionClass($type); |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
105 | - * @param ConfigurationRepository|null $config |
|
105 | + * @param null|ConfigInterface $config |
|
106 | 106 | * @return ConfigurationRepository |
107 | 107 | * @throws InvalidConfigurationLocationException |
108 | 108 | * @throws InvalidFileException |
@@ -159,6 +159,9 @@ discard block |
||
159 | 159 | return $structure; |
160 | 160 | } |
161 | 161 | |
162 | + /** |
|
163 | + * @param string $callbackString |
|
164 | + */ |
|
162 | 165 | protected function executeCallback($callbackString, $value) |
163 | 166 | { |
164 | 167 | if (function_exists($callbackString)) { |
@@ -199,7 +202,7 @@ discard block |
||
199 | 202 | |
200 | 203 | /** |
201 | 204 | * @param \SimpleXMLElement $structure The object representing the merged configuration structure |
202 | - * @param \SimpleXmlElement $config An empty config object to be populated |
|
205 | + * @param ConfigInterface $config An empty config object to be populated |
|
203 | 206 | * @param string $context The name of the context |
204 | 207 | * @return ConfigurationRepository The resulting configuration object |
205 | 208 | */ |
@@ -27,7 +27,6 @@ discard block |
||
27 | 27 | * @param string $layoutFile |
28 | 28 | * @param string $viewFile |
29 | 29 | * @param boolean $provideWrapperHtml |
30 | - * @param boolean $provideJqueryUrl |
|
31 | 30 | * @throws InvalidViewConfigurationException |
32 | 31 | */ |
33 | 32 | public function __construct( |
@@ -62,7 +61,7 @@ discard block |
||
62 | 61 | } |
63 | 62 | |
64 | 63 | /** |
65 | - * @param mixed $bootstrapCssUrl |
|
64 | + * @param string $bootstrapCssUrl |
|
66 | 65 | */ |
67 | 66 | public function setBootstrapCssUrl($bootstrapCssUrl) |
68 | 67 | { |
@@ -78,7 +77,7 @@ discard block |
||
78 | 77 | } |
79 | 78 | |
80 | 79 | /** |
81 | - * @param mixed $bootstrapJsUrl |
|
80 | + * @param string $bootstrapJsUrl |
|
82 | 81 | */ |
83 | 82 | public function setBootstrapJsUrl($bootstrapJsUrl) |
84 | 83 | { |
@@ -96,7 +95,7 @@ discard block |
||
96 | 95 | } |
97 | 96 | |
98 | 97 | /** |
99 | - * @param mixed $provideWrapperHtml |
|
98 | + * @param boolean $provideWrapperHtml |
|
100 | 99 | */ |
101 | 100 | public function setProvideWrapperHtml($provideWrapperHtml) |
102 | 101 | { |