@@ -28,7 +28,7 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return null|string |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | public function getRequestUrl() |
| 34 | 34 | { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @return RestResponseInterface|null |
|
| 68 | + * @return RestResponseInterface |
|
| 69 | 69 | */ |
| 70 | 70 | public function getResponse() |
| 71 | 71 | { |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | /** |
| 104 | 104 | * @param mixed $context |
| 105 | 105 | * |
| 106 | - * @return \PHPUnit_Framework_MockObject_MockObject+ |
|
| 106 | + * @return \Akeneo\Bundle\BatchBundle\Entity\StepExecution |
|
| 107 | 107 | */ |
| 108 | 108 | protected function getMockStepExecution($context) |
| 109 | 109 | { |
@@ -3,12 +3,9 @@ |
||
| 3 | 3 | namespace Oro\Bundle\IntegrationBundle\Tests\Unit\ImportExport\Reader; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Bridge\Doctrine\ManagerRegistry; |
| 6 | - |
|
| 7 | -use Doctrine\ORM\Query; |
|
| 8 | 6 | use Doctrine\ORM\EntityManager; |
| 9 | 7 | use Doctrine\Common\Annotations\AnnotationReader; |
| 10 | 8 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
| 11 | - |
|
| 12 | 9 | use Oro\Bundle\ImportExportBundle\Context\ContextRegistry; |
| 13 | 10 | use Oro\Bundle\IntegrationBundle\Reader\EntityReaderById; |
| 14 | 11 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * Returns the controller action type. |
| 55 | 55 | * |
| 56 | - * @return string|null |
|
| 56 | + * @return string |
|
| 57 | 57 | */ |
| 58 | 58 | public function getAction() |
| 59 | 59 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Returns the layout theme name. |
| 75 | 75 | * |
| 76 | - * @return string|null |
|
| 76 | + * @return string |
|
| 77 | 77 | */ |
| 78 | 78 | public function getTheme() |
| 79 | 79 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | /** |
| 124 | 124 | * Returns the layout context variables. |
| 125 | 125 | * |
| 126 | - * @return string[]|null |
|
| 126 | + * @return string|null |
|
| 127 | 127 | */ |
| 128 | 128 | public function getVars() |
| 129 | 129 | { |
@@ -143,7 +143,7 @@ |
||
| 143 | 143 | * |
| 144 | 144 | * @param string $fieldPath |
| 145 | 145 | * |
| 146 | - * @return string|null |
|
| 146 | + * @return string |
|
| 147 | 147 | */ |
| 148 | 148 | protected function getParentFieldPath($fieldPath) |
| 149 | 149 | { |
@@ -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 | |
@@ -2,10 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Oro\Bundle\LayoutBundle\Layout\Form; |
| 4 | 4 | |
| 5 | -use Symfony\Component\Form\FormInterface; |
|
| 6 | - |
|
| 7 | 5 | use Oro\Component\Layout\BlockBuilderInterface; |
| 8 | - |
|
| 9 | 6 | use Oro\Bundle\LayoutBundle\Layout\Block\Type\FieldsetType; |
| 10 | 7 | |
| 11 | 8 | class GroupingFormLayoutBuilder extends FormLayoutBuilder |
@@ -13,6 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * {@inheritdoc} |
| 16 | + * @param \DateTime $value |
|
| 16 | 17 | */ |
| 17 | 18 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
| 18 | 19 | { |
@@ -28,6 +29,7 @@ discard block |
||
| 28 | 29 | |
| 29 | 30 | /** |
| 30 | 31 | * {@inheritdoc} |
| 32 | + * @param string $value |
|
| 31 | 33 | */ |
| 32 | 34 | public function convertToPHPValue($value, AbstractPlatform $platform) |
| 33 | 35 | { |
@@ -152,9 +152,9 @@ |
||
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | - * @param object $obj |
|
| 155 | + * @param AddressInterface $obj |
|
| 156 | 156 | * @param string $property |
| 157 | - * @return mixed|null |
|
| 157 | + * @return string |
|
| 158 | 158 | */ |
| 159 | 159 | protected function getValue($obj, $property) |
| 160 | 160 | { |
@@ -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; |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | * @param int|string $attribute Numeric attribute constant of \NumberFormatter or it's string name |
| 273 | 273 | * @param int|string $style Constant of \NumberFormatter (DECIMAL, CURRENCY, PERCENT, etc) or string name |
| 274 | 274 | * @param string|null $locale |
| 275 | - * @return bool|int |
|
| 275 | + * @return integer |
|
| 276 | 276 | */ |
| 277 | 277 | public function getAttribute($attribute, $style = null, $locale = null) |
| 278 | 278 | { |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | * @param int|string $attribute Text attribute constant of \NumberFormatter or it's string name |
| 299 | 299 | * @param int|string $style Constant of \NumberFormatter (DECIMAL, CURRENCY, PERCENT, etc) or string name |
| 300 | 300 | * @param string|null $locale |
| 301 | - * @return bool|int |
|
| 301 | + * @return string |
|
| 302 | 302 | */ |
| 303 | 303 | public function getTextAttribute($attribute, $style, $locale = null) |
| 304 | 304 | { |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | * @param int|string $symbol Format symbol constant of \NumberFormatter or it's string name |
| 336 | 336 | * @param int|string $style Constant of \NumberFormatter (DECIMAL, CURRENCY, PERCENT, etc) or string name |
| 337 | 337 | * @param string|null $locale |
| 338 | - * @return bool|int |
|
| 338 | + * @return string |
|
| 339 | 339 | */ |
| 340 | 340 | public function getSymbol($symbol, $style, $locale = null) |
| 341 | 341 | { |