@@ -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; |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | * is not exist yet. If you want to create a public enum use {@link createEnum} method before. |
258 | 258 | * |
259 | 259 | * @param Schema $schema |
260 | - * @param Table|string $table A Table object or table name |
|
260 | + * @param Table $table A Table object or table name |
|
261 | 261 | * @param string $associationName A relation name |
262 | 262 | * @param string $enumCode The target enum identifier |
263 | 263 | * @param bool $isMultiple Indicates whether several options can be selected for this enum |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | * Adds OptionSet column |
327 | 327 | * |
328 | 328 | * @param Schema $schema |
329 | - * @param Table|string $table A Table object or table name |
|
329 | + * @param Table $table A Table object or table name |
|
330 | 330 | * @param string $optionSetName |
331 | 331 | * @param array $options |
332 | 332 | * |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | * Adds one-to-many relation |
353 | 353 | * |
354 | 354 | * @param Schema $schema |
355 | - * @param Table|string $table A Table object or table name |
|
355 | + * @param Table $table A Table object or table name |
|
356 | 356 | * @param string $associationName A relation name |
357 | 357 | * @param Table|string $targetTable A Table object or table name |
358 | 358 | * @param string[] $targetTitleColumnNames Column names are used to show a title of related entity |
@@ -536,7 +536,7 @@ discard block |
||
536 | 536 | * Adds many-to-one relation |
537 | 537 | * |
538 | 538 | * @param Schema $schema |
539 | - * @param Table|string $table A Table object or table name |
|
539 | + * @param Table $table A Table object or table name |
|
540 | 540 | * @param string $associationName A relation name |
541 | 541 | * @param Table|string $targetTable A Table object or table name |
542 | 542 | * @param string $targetColumnName A column name is used to show related entity |
@@ -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 |
@@ -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; |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\DBAL\Driver\Statement; |
7 | 7 | use Doctrine\ORM\EntityManager; |
8 | -use Doctrine\ORM\Query; |
|
9 | 8 | use Doctrine\ORM\QueryBuilder; |
10 | 9 | use Doctrine\ORM\Query\Parameter; |
11 | - |
|
12 | 10 | use Oro\Bundle\EntityBundle\ORM\DatabaseDriverInterface; |
13 | 11 | use Oro\Bundle\SecurityBundle\Owner\Metadata\OwnershipMetadataProvider; |
14 | 12 | use Oro\Bundle\SegmentBundle\Entity\Segment; |