@@ -146,7 +146,7 @@ |
||
| 146 | 146 | /** |
| 147 | 147 | * Returns supported API parameters from settings. |
| 148 | 148 | * |
| 149 | - * @return array |
|
| 149 | + * @return string[] |
|
| 150 | 150 | */ |
| 151 | 151 | protected function getSupportedApiParams() |
| 152 | 152 | { |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Guzzle\Http\Exception\CurlException; |
| 15 | 15 | use Sonata\AdminBundle\Form\FormMapper; |
| 16 | 16 | use Sonata\AdminBundle\Validator\ErrorElement; |
| 17 | -use Sonata\BlockBundle\Block\BaseBlockService; |
|
| 18 | 17 | use Sonata\BlockBundle\Block\BlockContextInterface; |
| 19 | 18 | use Sonata\BlockBundle\Model\BlockInterface; |
| 20 | 19 | use Symfony\Component\HttpFoundation\Response; |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * |
| 112 | 112 | * @param array $config |
| 113 | 113 | * |
| 114 | - * @return array |
|
| 114 | + * @return ContainerBuilder |
|
| 115 | 115 | */ |
| 116 | 116 | protected function fixConfiguration(array $config) |
| 117 | 117 | { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @param \Sonata\SeoBundle\Seo\SeoPageInterface $page |
| 24 | - * @param $encoding |
|
| 24 | + * @param string $encoding |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct(SeoPageInterface $page, $encoding) |
| 27 | 27 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Returns a list of functions to add to the existing list. |
| 34 | 34 | * |
| 35 | - * @return array An array of functions |
|
| 35 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 36 | 36 | */ |
| 37 | 37 | public function getFunctions() |
| 38 | 38 | { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | 219 | * @param string $string |
| 220 | - * @return mixed |
|
| 220 | + * @return string |
|
| 221 | 221 | */ |
| 222 | 222 | private function normalize($string) |
| 223 | 223 | { |