Completed
Pull Request — master (#352)
by php-br
48:18
created
src/Oro/Bundle/AttachmentBundle/Model/ExtendAttachment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @param object $target Any configurable entity that can have notes
47 47
      *
48
-     * @return object This object
48
+     * @return ExtendAttachment This object
49 49
      */
50 50
     public function setTarget($target)
51 51
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Twig/FileExtension.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Get file url
78 78
      *
79
-     * @param object $parentEntity
79
+     * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestClass $parentEntity
80 80
      * @param string $fieldName
81 81
      * @param File   $attachment
82 82
      * @param string $type
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * Get file view html block
140 140
      *
141 141
      * @param \Twig_Environment $environment
142
-     * @param object            $parentEntity
142
+     * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestClass            $parentEntity
143 143
      * @param string            $fieldName
144 144
      * @param File              $attachment
145 145
      *
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     /**
223 223
      * Get attachment image resized with config values
224 224
      *
225
-     * @param object $parentEntity
225
+     * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestAttachment $parentEntity
226 226
      * @param string $fieldName
227 227
      * @param File   $attachment
228 228
      *
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,16 +4,13 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Oro/Bundle/BatchBundle/Command/CleanupCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     /**
134 134
      * Find job executions created before the given date time
135 135
      *
136
-     * @param $endTime
136
+     * @param \DateTime $endTime
137 137
      *
138 138
      * @return QueryBuilder
139 139
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,16 +4,13 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Oro/Bundle/BatchBundle/Step/StepExecutor.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Get reader
75 75
      *
76
-     * @return ItemReaderInterface|null
76
+     * @return ItemReaderInterface
77 77
      */
78 78
     public function getReader()
79 79
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Get writer
99 99
      *
100
-     * @return ItemWriterInterface|null
100
+     * @return ItemWriterInterface
101 101
      */
102 102
     public function getWriter()
103 103
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Get processor
123 123
      *
124
-     * @return ItemProcessorInterface|null
124
+     * @return ItemProcessorInterface
125 125
      */
126 126
     public function getProcessor()
127 127
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Oro/Bundle/BusinessEntitiesBundle/Entity/BaseOrder.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * Get addresses
258 258
      *
259
-     * @return ArrayCollection|AbstractAddress[]
259
+     * @return ArrayCollection
260 260
      */
261 261
     public function getAddresses()
262 262
     {
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
     }
439 439
 
440 440
     /**
441
-     * @return string
441
+     * @return double
442 442
      */
443 443
     public function getShippingMethod()
444 444
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Oro/Bundle/CacheBundle/Tests/Unit/Provider/FileCacheTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     /**
125 125
      * @param  mixed  $obj
126 126
      * @param  string $methodName
127
-     * @param  array  $args
127
+     * @param  string[]  $args
128 128
      * @return mixed
129 129
      */
130 130
     public static function callProtectedMethod($obj, $methodName, array $args)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Oro/Bundle/CalendarBundle/Controller/Api/Rest/CalendarEventController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@  discard block
 block discarded – undo
5 5
 use Symfony\Component\Form\Form;
6 6
 use Symfony\Component\HttpFoundation\Response;
7 7
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
8
-
9 8
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
10 9
 use FOS\RestBundle\Controller\Annotations\RouteResource;
11 10
 use FOS\RestBundle\Controller\Annotations\QueryParam;
@@ -13,19 +12,15 @@  discard block
 block discarded – undo
13 12
 use FOS\RestBundle\Controller\Annotations\Post;
14 13
 use FOS\RestBundle\Routing\ClassResourceInterface;
15 14
 use FOS\RestBundle\Util\Codes;
16
-
17 15
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
18
-
19 16
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
20 17
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
21
-
22 18
 use Oro\Bundle\CalendarBundle\Entity\CalendarEvent;
23 19
 use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarEventRepository;
24 20
 use Oro\Bundle\CalendarBundle\Provider\SystemCalendarConfig;
25 21
 use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler;
26 22
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
27 23
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
28
-use Oro\Bundle\CalendarBundle\Handler\DeleteHandler;
29 24
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\HttpDateTimeParameterFilter;
30 25
 use Oro\Bundle\SecurityBundle\Exception\ForbiddenException;
31 26
 
Please login to merge, or discard this patch.
src/Oro/Bundle/CalendarBundle/Provider/UserCalendarEventNormalizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     /**
132 132
      * @param array  $items
133 133
      *
134
-     * @return array
134
+     * @return integer[]
135 135
      */
136 136
     protected function getParentEventIds(array $items)
137 137
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/CommentBundle/Entity/Manager/CommentApiManager.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * @param int    $entityId
90 90
      * @param int    $page
91 91
      * @param int    $limit
92
-     * @param array  $filters
92
+     * @param Criteria  $filters
93 93
      *
94 94
      * @return array
95 95
      */
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     }
357 357
 
358 358
     /**
359
-     * @param $entity
359
+     * @param Comment $entity
360 360
      *
361 361
      * @return File
362 362
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.