@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * @param DataTransformerInterface $transformer |
| 61 | 61 | * @param PersisterInterface $persister |
| 62 | 62 | * @param SerializerInterface $serializer |
| 63 | - * @param array $ignoredTypes |
|
| 63 | + * @param string[] $ignoredTypes |
|
| 64 | 64 | * @param string $msgClass |
| 65 | 65 | * @param string $format |
| 66 | 66 | */ |
@@ -252,7 +252,7 @@ |
||
| 252 | 252 | * @param string $entity |
| 253 | 253 | * @param string $relation |
| 254 | 254 | * |
| 255 | - * @return array|null |
|
| 255 | + * @return string|null |
|
| 256 | 256 | */ |
| 257 | 257 | public function getJoinTable($container, $entity, $relation) |
| 258 | 258 | { |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | /** |
| 113 | 113 | * @param string $type |
| 114 | 114 | * @param string $field |
| 115 | - * @param mixed $value |
|
| 115 | + * @param string $value |
|
| 116 | 116 | * |
| 117 | 117 | * @throws InvalidArgumentException |
| 118 | 118 | */ |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Psr\Log\LoggerInterface |
|
| 72 | + * @return \Psr\Log\LoggerInterface |
|
| 73 | 73 | */ |
| 74 | 74 | private function getLoggerMock() |
| 75 | 75 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $configuration = new Configuration(); |
| 18 | 18 | $this->processConfiguration($configuration, $configs); |
| 19 | 19 | |
| 20 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 20 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 21 | 21 | $loader->load('services.yml'); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | use Doctrine\Common\Annotations\AnnotationRegistry; |
| 20 | 20 | |
| 21 | -call_user_func(function () { |
|
| 21 | +call_user_func(function() { |
|
| 22 | 22 | if (!is_file($autoloadFile = __DIR__ . '/../vendor/autoload.php')) { |
| 23 | 23 | throw new \RuntimeException('Did not find vendor/autoload.php. Did you run "composer install --dev"?'); |
| 24 | 24 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | public function setUp() |
| 18 | 18 | { |
| 19 | 19 | \Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace( |
| 20 | - 'JMS\Serializer\Annotation', __DIR__.'/vendor/jms/serializer/src' |
|
| 20 | + 'JMS\Serializer\Annotation', __DIR__ . '/vendor/jms/serializer/src' |
|
| 21 | 21 | ); |
| 22 | 22 | } |
| 23 | 23 | |