@@ -49,6 +49,9 @@ discard block |
||
49 | 49 | } |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $provider |
|
54 | + */ |
|
52 | 55 | private function loadProviderConfiguration( |
53 | 56 | $provider, |
54 | 57 | array $configuration, |
@@ -237,6 +240,9 @@ discard block |
||
237 | 240 | $container->setDefinition('gssp.provider.' . $provider . '.metadata.factory', $metadataFactory); |
238 | 241 | } |
239 | 242 | |
243 | + /** |
|
244 | + * @param string $provider |
|
245 | + */ |
|
240 | 246 | private function createRouteConfig($provider, $routeName) |
241 | 247 | { |
242 | 248 | // In the future, we ought to wrap this in an object. |
@@ -247,6 +253,9 @@ discard block |
||
247 | 253 | ]; |
248 | 254 | } |
249 | 255 | |
256 | + /** |
|
257 | + * @param string $type |
|
258 | + */ |
|
250 | 259 | private function validateDescriptions($descriptions, $appUrl, $provider, $type) |
251 | 260 | { |
252 | 261 | $regex ="/%%{$type}_link_start%%[a-zA-Z0-9 ]+%%{$type}_link_end%%/"; |