@@ -145,6 +145,7 @@ discard block |
||
| 145 | 145 | |
| 146 | 146 | /** |
| 147 | 147 | * {@inheritdoc} |
| 148 | + * @param string $format |
|
| 148 | 149 | */ |
| 149 | 150 | private function normalizeObject($object, $format = null, array $context = []) |
| 150 | 151 | { |
@@ -179,6 +180,7 @@ discard block |
||
| 179 | 180 | |
| 180 | 181 | /** |
| 181 | 182 | * {@inheritdoc} |
| 183 | + * @param string $format |
|
| 182 | 184 | */ |
| 183 | 185 | private function getNormalizer($data, $format = null, array $context = []) |
| 184 | 186 | { |
@@ -200,6 +202,8 @@ discard block |
||
| 200 | 202 | |
| 201 | 203 | /** |
| 202 | 204 | * {@inheritdoc} |
| 205 | + * @param string $type |
|
| 206 | + * @param string $format |
|
| 203 | 207 | */ |
| 204 | 208 | private function getDenormalizer($data, $type, $format = null, array $context = []) |
| 205 | 209 | { |
@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\EventManager; |
| 6 | 6 | use Doctrine\DBAL\Driver\Connection; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
| 9 | - |
|
| 10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
| 11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
| 12 | 10 | |
@@ -61,6 +61,9 @@ |
||
| 61 | 61 | $this->formatter->getFormatterFor('non_exist_type', 'test_type'); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $id |
|
| 66 | + */ |
|
| 64 | 67 | protected function setContainerMock($id, \stdClass $testTypeFormatter) |
| 65 | 68 | { |
| 66 | 69 | $this->container |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 6 | - |
|
| 7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
| 9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * @param Collection $collection |
| 88 | - * @param $level |
|
| 88 | + * @param integer $level |
|
| 89 | 89 | */ |
| 90 | 90 | protected function fixCollectionField($collection, $level) |
| 91 | 91 | { |
@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\EventManager; |
| 6 | 6 | use Doctrine\DBAL\Driver\Connection; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
| 9 | - |
|
| 10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
| 11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
| 12 | 10 | |
@@ -237,7 +237,7 @@ |
||
| 237 | 237 | /** |
| 238 | 238 | * @param string $message |
| 239 | 239 | * |
| 240 | - * @return callable |
|
| 240 | + * @return \Closure |
|
| 241 | 241 | */ |
| 242 | 242 | protected function getNotBlankValidator($message) |
| 243 | 243 | { |
@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\EventManager; |
| 6 | 6 | use Doctrine\DBAL\Driver\Connection; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
| 9 | - |
|
| 10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
| 11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
| 12 | 10 | |
@@ -73,6 +73,9 @@ discard block |
||
| 73 | 73 | return new OroFinish($this->test); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $value |
|
| 78 | + */ |
|
| 76 | 79 | public function setPasswordFirst($value) |
| 77 | 80 | { |
| 78 | 81 | $this->passwordFirst->clear(); |
@@ -80,6 +83,9 @@ discard block |
||
| 80 | 83 | return $this; |
| 81 | 84 | } |
| 82 | 85 | |
| 86 | + /** |
|
| 87 | + * @param string $value |
|
| 88 | + */ |
|
| 83 | 89 | public function setPasswordSecond($value) |
| 84 | 90 | { |
| 85 | 91 | $this->passwordSecond->clear(); |
@@ -87,6 +93,9 @@ discard block |
||
| 87 | 93 | return $this; |
| 88 | 94 | } |
| 89 | 95 | |
| 96 | + /** |
|
| 97 | + * @param string $value |
|
| 98 | + */ |
|
| 90 | 99 | public function setUsername($value) |
| 91 | 100 | { |
| 92 | 101 | $this->username->clear(); |
@@ -94,6 +103,9 @@ discard block |
||
| 94 | 103 | return $this; |
| 95 | 104 | } |
| 96 | 105 | |
| 106 | + /** |
|
| 107 | + * @param string $value |
|
| 108 | + */ |
|
| 97 | 109 | public function setFirstName($value) |
| 98 | 110 | { |
| 99 | 111 | $this->firstName->clear(); |
@@ -101,6 +113,9 @@ discard block |
||
| 101 | 113 | return $this; |
| 102 | 114 | } |
| 103 | 115 | |
| 116 | + /** |
|
| 117 | + * @param string $value |
|
| 118 | + */ |
|
| 104 | 119 | public function setLastName($value) |
| 105 | 120 | { |
| 106 | 121 | $this->lastName->clear(); |
@@ -108,6 +123,9 @@ discard block |
||
| 108 | 123 | return $this; |
| 109 | 124 | } |
| 110 | 125 | |
| 126 | + /** |
|
| 127 | + * @param string $value |
|
| 128 | + */ |
|
| 111 | 129 | public function setEmail($value) |
| 112 | 130 | { |
| 113 | 131 | $this->email->clear(); |
@@ -51,6 +51,9 @@ discard block |
||
| 51 | 51 | return new OroAdministration($this->test); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $value |
|
| 56 | + */ |
|
| 54 | 57 | public function setPassword($value) |
| 55 | 58 | { |
| 56 | 59 | $this->password->clear(); |
@@ -58,6 +61,9 @@ discard block |
||
| 58 | 61 | return $this; |
| 59 | 62 | } |
| 60 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $value |
|
| 66 | + */ |
|
| 61 | 67 | public function setUser($value) |
| 62 | 68 | { |
| 63 | 69 | $this->user->clear(); |
@@ -271,7 +271,7 @@ |
||
| 271 | 271 | } |
| 272 | 272 | |
| 273 | 273 | /** |
| 274 | - * @return array |
|
| 274 | + * @return null|callable |
|
| 275 | 275 | */ |
| 276 | 276 | public function getConnectors() |
| 277 | 277 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
| 6 | - |
|
| 7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
| 9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | /** |
| 103 | 103 | * Get entityId |
| 104 | 104 | * |
| 105 | - * @return integer |
|
| 105 | + * @return string |
|
| 106 | 106 | */ |
| 107 | 107 | public function getEntityId() |
| 108 | 108 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * |
| 194 | 194 | * @param string $type |
| 195 | 195 | * |
| 196 | - * @return callable |
|
| 196 | + * @return \Closure |
|
| 197 | 197 | */ |
| 198 | 198 | protected function getTransportTypeModifierClosure($type) |
| 199 | 199 | { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * |
| 215 | 215 | * @param string $type |
| 216 | 216 | * |
| 217 | - * @return callable |
|
| 217 | + * @return \Closure |
|
| 218 | 218 | */ |
| 219 | 219 | protected function getConnectorsModifierClosure($type) |
| 220 | 220 | { |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | * @param string $integrationType |
| 237 | 237 | * @param string $transportType |
| 238 | 238 | * |
| 239 | - * @return callable |
|
| 239 | + * @return \Closure |
|
| 240 | 240 | */ |
| 241 | 241 | protected function getTransportModifierClosure($integrationType, $transportType) |
| 242 | 242 | { |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | * @param string $type |
| 268 | 268 | * @param string $formName |
| 269 | 269 | * |
| 270 | - * @return callable |
|
| 270 | + * @return \Closure |
|
| 271 | 271 | */ |
| 272 | 272 | protected function getDynamicModifierClosure($type, $formName) |
| 273 | 273 | { |
@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\EventManager; |
| 6 | 6 | use Doctrine\DBAL\Driver\Connection; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
| 9 | - |
|
| 10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
| 11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
| 12 | 10 | |