@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | * |
| 16 | 16 | * @since 0.1.0 |
| 17 | 17 | * |
| 18 | - * @param string $feature Name of the feature. |
|
| 18 | + * @param string $featureName Name of the feature. |
|
| 19 | 19 | * |
| 20 | 20 | * @return array|null Returns an array of options or null if the feature wasn't found. |
| 21 | 21 | */ |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @since 0.1.0 |
| 34 | 34 | * |
| 35 | - * @param string $feature Name of the feature. |
|
| 35 | + * @param string $featureName Name of the feature. |
|
| 36 | 36 | * @param string $key The option key. |
| 37 | 37 | * |
| 38 | 38 | * @return mixed|null Returns the option or null if the option / the feature doesn't exist. |
@@ -63,11 +63,11 @@ discard block |
||
| 63 | 63 | * |
| 64 | 64 | * @since 0.1.0 |
| 65 | 65 | * |
| 66 | - * @param string $feature Name of the feature. |
|
| 66 | + * @param string $featureName Name of the feature. |
|
| 67 | 67 | * @param string $basePath The feature base path. |
| 68 | 68 | * @param array $options An array of options. Optional. |
| 69 | 69 | * |
| 70 | - * @return boolean |
|
| 70 | + * @return boolean|null |
|
| 71 | 71 | */ |
| 72 | 72 | public static function register($featureName, $basePath, $options = []) |
| 73 | 73 | { |
@@ -32,6 +32,9 @@ |
||
| 32 | 32 | return $output; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $componentName |
|
| 37 | + */ |
|
| 35 | 38 | public function renderComponent(Twig_Environment $env, $context, $componentName, $data = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) |
| 36 | 39 | { |
| 37 | 40 | $data = $data === false ? [] : $data; |