@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | const URL = '/config/system/platform/language_settings'; |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | - * @param $language string |
|
| 17 | + * @param string $language string |
|
| 18 | 18 | * @return $this |
| 19 | 19 | */ |
| 20 | 20 | public function download($language) |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @param $language string |
|
| 36 | + * @param string $language string |
|
| 37 | 37 | * @return $this |
| 38 | 38 | */ |
| 39 | 39 | public function enable($language) |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @param $language string |
|
| 55 | + * @param string $language string |
|
| 56 | 56 | * @return $this |
| 57 | 57 | */ |
| 58 | 58 | public function disable($language) |
@@ -85,6 +85,9 @@ |
||
| 85 | 85 | $this->assertInstanceOf('Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition', $list['value']); |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param string $field |
|
| 90 | + */ |
|
| 88 | 91 | protected function getField($object, $field) |
| 89 | 92 | { |
| 90 | 93 | $reflection = new \ReflectionProperty($object, $field); |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @return array |
|
| 90 | + * @return integer |
|
| 91 | 91 | */ |
| 92 | 92 | public function getLayoutPosition() |
| 93 | 93 | { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * @param DateTime $start |
| 144 | 144 | * @param DateTime $end |
| 145 | 145 | * @param QueryBuilder $qb |
| 146 | - * @param $entityField |
|
| 146 | + * @param string $entityField |
|
| 147 | 147 | */ |
| 148 | 148 | public function addDatePartsSelect(DateTime $start, DateTime $end, QueryBuilder $qb, $entityField) |
| 149 | 149 | { |
@@ -290,7 +290,7 @@ discard block |
||
| 290 | 290 | /** |
| 291 | 291 | * @param array $config |
| 292 | 292 | * @param DateTime $date |
| 293 | - * @param $increment |
|
| 293 | + * @param integer $increment |
|
| 294 | 294 | * @return string |
| 295 | 295 | */ |
| 296 | 296 | protected function getFormattedLabel($config, DateTime $date, $increment) |
@@ -4,16 +4,13 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
| 6 | 6 | use Symfony\Component\Form\Test\FormIntegrationTestCase; |
| 7 | - |
|
| 8 | 7 | use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener; |
| 9 | 8 | use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener; |
| 10 | 9 | use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener; |
| 11 | 10 | use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType; |
| 12 | - |
|
| 13 | 11 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
| 14 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
| 15 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition; |
| 16 | - |
|
| 17 | 14 | use Oro\Bundle\WorkflowBundle\Model\Step; |
| 18 | 15 | use Oro\Bundle\WorkflowBundle\Model\Attribute; |
| 19 | 16 | use Oro\Bundle\WorkflowBundle\Model\WorkflowData; |
@@ -278,7 +278,7 @@ |
||
| 278 | 278 | * @param User $user |
| 279 | 279 | * @param bool $flush |
| 280 | 280 | * |
| 281 | - * @return bool |
|
| 281 | + * @return boolean|null |
|
| 282 | 282 | */ |
| 283 | 283 | public function setUserActiveDashboard(DashboardModel $dashboard, User $user, $flush = false) |
| 284 | 284 | { |
@@ -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 | |
@@ -8,6 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | /** |
| 10 | 10 | * {@inheritdoc} |
| 11 | + * @param boolean $value |
|
| 11 | 12 | */ |
| 12 | 13 | public function getConvertedValue(array $widgetConfig, $value = null, array $config = [], array $options = []) |
| 13 | 14 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param mixed $name |
|
| 56 | + * @param string $name |
|
| 57 | 57 | * @return $this |
| 58 | 58 | */ |
| 59 | 59 | public function setName($name) |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @return mixed |
|
| 67 | + * @return string |
|
| 68 | 68 | */ |
| 69 | 69 | public function getName() |
| 70 | 70 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | - * @param mixed $collection |
|
| 75 | + * @param \Doctrine\ORM\PersistentCollection $collection |
|
| 76 | 76 | * @return $this |
| 77 | 77 | */ |
| 78 | 78 | public function setCollection($collection) |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @return mixed |
|
| 86 | + * @return LoggableCollectionClass[] |
|
| 87 | 87 | */ |
| 88 | 88 | public function getCollection() |
| 89 | 89 | { |
@@ -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,13 +3,9 @@ |
||
| 3 | 3 | namespace Oro\Bundle\DataGridBundle\Datasource\Orm; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
| 6 | -use Doctrine\ORM\Query; |
|
| 7 | 6 | use Doctrine\ORM\QueryBuilder; |
| 8 | - |
|
| 9 | 7 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 10 | - |
|
| 11 | 8 | use Oro\Component\DoctrineUtils\ORM\QueryHintResolver; |
| 12 | - |
|
| 13 | 9 | use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface; |
| 14 | 10 | use Oro\Bundle\DataGridBundle\Datasource\DatasourceInterface; |
| 15 | 11 | use Oro\Bundle\DataGridBundle\Datasource\ParameterBinderAwareInterface; |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | * @param string $name Where type ('and', 'or') |
| 99 | 99 | * |
| 100 | 100 | * @throws InvalidConfigurationException |
| 101 | - * @return ArrayNodeDefinition |
|
| 101 | + * @return \Symfony\Component\Config\Definition\Builder\NodeBuilder |
|
| 102 | 102 | */ |
| 103 | 103 | protected function addWhereNode($name) |
| 104 | 104 | { |