@@ -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); |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | |
| 8 | 8 | const CONTEXT_DEFAULT = 'default'; |
| 9 | 9 | |
| 10 | - const ALLOWED_TRUES = [ |
|
| 10 | + const ALLOWED_TRUES = [ |
|
| 11 | 11 | true, 'true', 1, '1', 'on', 'yes' |
| 12 | 12 | ]; |
| 13 | 13 | |
@@ -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 | { |
@@ -206,7 +205,7 @@ discard block |
||
| 206 | 205 | } |
| 207 | 206 | |
| 208 | 207 | /** |
| 209 | - * @param mixed $jqueryUrl |
|
| 208 | + * @param string $jqueryUrl |
|
| 210 | 209 | */ |
| 211 | 210 | public function setJqueryUrl($jqueryUrl) |
| 212 | 211 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @param $class |
|
| 59 | + * @param string $class |
|
| 60 | 60 | * @return SourceInterface |
| 61 | 61 | * @throws UnableToCreateInstanceException |
| 62 | 62 | */ |