@@ -82,7 +82,7 @@ |
||
| 82 | 82 | * |
| 83 | 83 | * @param bool $includeArgs include args |
| 84 | 84 | * |
| 85 | - * @return bool|false|null|string path |
|
| 85 | + * @return string path |
|
| 86 | 86 | */ |
| 87 | 87 | protected static function getPhp($includeArgs = true) |
| 88 | 88 | { |
@@ -24,9 +24,9 @@ discard block |
||
| 24 | 24 | * |
| 25 | 25 | * @param JsonSerializationVisitor $visitor Visitor |
| 26 | 26 | * @param Hash $data Data |
| 27 | - * @param array $type Type |
|
| 27 | + * @param string[] $type Type |
|
| 28 | 28 | * @param Context $context Context |
| 29 | - * @return array |
|
| 29 | + * @return Hash |
|
| 30 | 30 | */ |
| 31 | 31 | public function serializeHashToJson( |
| 32 | 32 | JsonSerializationVisitor $visitor, |
@@ -41,8 +41,8 @@ discard block |
||
| 41 | 41 | * Deserialize Hash object |
| 42 | 42 | * |
| 43 | 43 | * @param JsonDeserializationVisitor $visitor Visitor |
| 44 | - * @param array $data Data |
|
| 45 | - * @param array $type Type |
|
| 44 | + * @param string[] $data Data |
|
| 45 | + * @param string[] $type Type |
|
| 46 | 46 | * @param Context $context Context |
| 47 | 47 | * @return Hash |
| 48 | 48 | */ |
@@ -255,7 +255,7 @@ |
||
| 255 | 255 | } |
| 256 | 256 | |
| 257 | 257 | /** |
| 258 | - * @param array $collection Field |
|
| 258 | + * @param string[] $collection Field |
|
| 259 | 259 | * @return $this |
| 260 | 260 | */ |
| 261 | 261 | public function setCollection(array $collection) |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @param string $fieldName target fieldname |
| 85 | 85 | * @param array $values the values to set |
| 86 | 86 | * |
| 87 | - * @return AbstractNode some node |
|
| 87 | + * @return OrNode some node |
|
| 88 | 88 | */ |
| 89 | 89 | private function getAlteredQueryNode($fieldName, array $values) |
| 90 | 90 | { |
@@ -6,9 +6,7 @@ |
||
| 6 | 6 | namespace Graviton\I18nBundle\Listener; |
| 7 | 7 | |
| 8 | 8 | use Doctrine\ODM\MongoDB\Query\Builder; |
| 9 | -use Graviton\I18nBundle\Document\TranslatableDocumentInterface; |
|
| 10 | 9 | use Graviton\I18nBundle\Service\I18nUtils; |
| 11 | -use Graviton\RestBundle\Model\DocumentModel; |
|
| 12 | 10 | use Graviton\Rql\Event\VisitNodeEvent; |
| 13 | 11 | use Xiag\Rql\Parser\Node\Query\AbstractScalarOperatorNode; |
| 14 | 12 | use Xiag\Rql\Parser\Node\Query\LogicOperator\OrNode; |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | namespace Graviton\RabbitMqBundle\Tests\Listener; |
| 7 | 7 | |
| 8 | 8 | use Graviton\RabbitMqBundle\Listener\EventStatusLinkResponseListener; |
| 9 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 10 | 9 | use Symfony\Component\HttpFoundation\Request; |
| 11 | 10 | use Symfony\Component\HttpFoundation\Response; |
| 12 | 11 | |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use Symfony\Bundle\FrameworkBundle\Routing\Router; |
| 12 | 12 | use Graviton\RestBundle\HttpFoundation\LinkHeader; |
| 13 | 13 | use Graviton\RestBundle\HttpFoundation\LinkHeaderItem; |
| 14 | -use Graviton\RestBundle\Event\RestEvent; |
|
| 15 | 14 | |
| 16 | 15 | /** |
| 17 | 16 | * FilterResponseListener for adding a rel=self Link header to a response. |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | /** |
| 166 | 166 | * @param \Graviton\I18nBundle\Document\Translatable $entity entity to insert |
| 167 | 167 | * |
| 168 | - * @return Object |
|
| 168 | + * @return Request |
|
| 169 | 169 | */ |
| 170 | 170 | public function insertRecord($entity) |
| 171 | 171 | { |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | * |
| 141 | 141 | * @param Request $request Request |
| 142 | 142 | * @param Response $response response |
| 143 | - * @param array $returnValue Slicer result |
|
| 143 | + * @param string[] $returnValue Slicer result |
|
| 144 | 144 | * |
| 145 | 145 | * @return void |
| 146 | 146 | */ |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * Return an array of supported classes. This will be called by supportsClass |
| 20 | 20 | * |
| 21 | - * @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 21 | + * @return string[] an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 22 | 22 | */ |
| 23 | 23 | protected function getSupportedClasses() |
| 24 | 24 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Return an array of supported attributes. This will be called by supportsAttribute |
| 33 | 33 | * |
| 34 | - * @return array an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 34 | + * @return string[] an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 35 | 35 | */ |
| 36 | 36 | protected function getSupportedAttributes() |
| 37 | 37 | { |