| @@ -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 |      { | 
| @@ -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 | */ | 
| @@ -235,7 +235,7 @@ | ||
| 235 | 235 | /** | 
| 236 | 236 | * @param array $methods methods to mock | 
| 237 | 237 | * | 
| 238 | - * @return StrategyInterface|\PHPUnit_Framework_MockObject_MockObject | |
| 238 | + * @return \PHPUnit_Framework_MockObject_MockObject | |
| 239 | 239 | */ | 
| 240 | 240 |      private function getStrategyMock(array $methods = array('apply')) | 
| 241 | 241 |      { | 
| @@ -134,7 +134,7 @@ | ||
| 134 | 134 | } | 
| 135 | 135 | |
| 136 | 136 | /** | 
| 137 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\Security\Core\User\UserInterface | |
| 137 | + * @return \PHPUnit_Framework_MockObject_MockObject | |
| 138 | 138 | */ | 
| 139 | 139 | private function getUserMock() | 
| 140 | 140 |      { | 
| @@ -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 |      { |