Completed
Push — master ( 0eab77...b2f729 )
by Paul
05:35
created
Bundle/BusinessEntityBundle/Entity/BusinessEntity.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Get the id.
57 57
      *
58
-     * @return string The id
58
+     * @return integer The id
59 59
      */
60 60
     public function getId()
61 61
     {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Get the business properties.
97 97
      *
98
-     * @return array The business properties
98
+     * @return BusinessProperty[] The business properties
99 99
      */
100 100
     public function getBusinessProperties()
101 101
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      *
132 132
      * @param string $type
133 133
      *
134
-     * @return BusinessProperty[] The businnes properties
134
+     * @return ArrayCollection The businnes properties
135 135
      */
136 136
     public function getBusinessPropertiesByType($type)
137 137
     {
@@ -151,7 +151,6 @@  discard block
 block discarded – undo
151 151
     /**
152 152
      * Get the business properties names by type.
153 153
      *
154
-     * @param string $type
155 154
      *
156 155
      * @return ArrayCollection The businnes properties
157 156
      */
@@ -171,7 +170,6 @@  discard block
 block discarded – undo
171 170
     /**
172 171
      * Get the business identifiers.
173 172
      *
174
-     * @param string $type
175 173
      *
176 174
      * @return ArrayCollection The businnes properties
177 175
      */
Please login to merge, or discard this patch.
Bundle/BusinessEntityBundle/Entity/BusinessProperty.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * Set the type.
64 64
      *
65
-     * @param string $type
65
+     * @param string $types
66 66
      */
67 67
     public function setTypes($types)
68 68
     {
@@ -196,6 +196,9 @@  discard block
 block discarded – undo
196 196
         $this->filterMethod = $filterMethod;
197 197
     }
198 198
 
199
+    /**
200
+     * @param string $type
201
+     */
199 202
     public function hasType($type)
200 203
     {
201 204
         return in_array($type, $this->getTypes());
Please login to merge, or discard this patch.
Bundle/BusinessEntityBundle/Helper/BusinessEntityHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         return $this->ormBusinessEntityRepository->findOneBy(['class' => $classname]);
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $widgetName
83
+     */
81 84
     public function getAvailableForWidget($widgetName)
82 85
     {
83 86
         $classes = $this->businessEntityRepository->getByAvailableWidgets($widgetName);
Please login to merge, or discard this patch.
Bundle/BusinessPageBundle/Controller/BusinessTemplateController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -388,7 +388,7 @@
 block discarded – undo
388 388
      *
389 389
      * @throws Exception If the business entity was not found
390 390
      *
391
-     * @return template
391
+     * @return \Victoire\Bundle\BusinessEntityBundle\Entity\BusinessEntity
392 392
      */
393 393
     private function getBusinessEntity($id)
394 394
     {
Please login to merge, or discard this patch.
Bundle/BusinessPageBundle/Helper/BusinessPageHelper.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,8 +218,7 @@
 block discarded – undo
218 218
     /**
219 219
      * Guess the best pattern to represent given reflectionClass.
220 220
      *
221
-     * @param \ReflectionClass $refClass
222
-     * @param int              $entityId
221
+     * @param int              $entity
223 222
      * @param EntityManager    $em
224 223
      * @param string           $originalRefClassName When digging into parentClass, we do not have to forget originalClass to be able to get reference after all
225 224
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Victoire\Bundle\BusinessEntityBundle\Converter\ParameterConverter;
12 12
 use Victoire\Bundle\BusinessEntityBundle\Entity\BusinessEntity;
13 13
 use Victoire\Bundle\BusinessEntityBundle\Entity\BusinessEntityInterface;
14
-use Victoire\Bundle\BusinessEntityBundle\Entity\BusinessEntityRepository;
15 14
 use Victoire\Bundle\BusinessEntityBundle\Entity\BusinessProperty;
16 15
 use Victoire\Bundle\BusinessEntityBundle\Helper\BusinessEntityHelper;
17 16
 use Victoire\Bundle\BusinessPageBundle\Entity\BusinessTemplate;
Please login to merge, or discard this patch.
Bundle/BusinessPageBundle/Repository/BusinessTemplateRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * get the pagePatterns for the business entity query.
40 40
      *
41
-     * @param string $businessEntityId
41
+     * @param BusinessEntity $businessEntity
42 42
      *
43 43
      * @return QueryBuilder
44 44
      */
Please login to merge, or discard this patch.
Bundle/CoreBundle/DoctrineMigrations/Version20170217154603.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @return mixed
32
+     * @return null|ContainerInterface
33 33
      */
34 34
     public function getContainer()
35 35
     {
@@ -231,8 +231,8 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-     * @param $className
235
-     * @param $annotationObj
234
+     * @param string $className
235
+     * @param BusinessEntity $annotationObj
236 236
      * @param $businessProperties
237 237
      *
238 238
      * @return ORMBusinessEntity
Please login to merge, or discard this patch.
Bundle/CoreBundle/Form/Builder/EntityProxyFieldsBuilder.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,6 @@
 block discarded – undo
42 42
      *
43 43
      * @param \Symfony\Component\Form\FormBuilderInterface $builder
44 44
      * @param string                                       $widgetName
45
-     * @param string                                       $namespace
46 45
      *
47 46
      * @throws \Exception
48 47
      *
Please login to merge, or discard this patch.
Bundle/ORMBusinessEntityBundle/Resolver/ORMBusinessEntityResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * filter repo to get a list of entities.
37 37
      *
38 38
      * @param ORMBusinessEntity $businessEntity
39
-     * @param array             $filters
39
+     * @param array             $filter
40 40
      *
41 41
      * @return mixed
42 42
      */
Please login to merge, or discard this patch.