Completed
Push — master ( 0eab77...b2f729 )
by Paul
05:35
created
Bundle/CoreBundle/Form/WidgetType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         //we use the PRE_SUBMIT event to set the mode option
74 74
         $builder->addEventListener(
75 75
             FormEvents::PRE_SUBMIT,
76
-            function (FormEvent $event) use ($options) {
76
+            function(FormEvent $event) use ($options) {
77 77
                 //we get the raw data for the widget form
78 78
                 $rawData = $event->getData();
79 79
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         ]);
118 118
         $builder->addEventListener(
119 119
             FormEvents::PRE_SET_DATA,
120
-            function (FormEvent $event) use ($options) {
120
+            function(FormEvent $event) use ($options) {
121 121
                 $dataSources = $options['dataSources']->getDataSources();
122 122
                 $widget = $event->getData();
123 123
                 foreach ($dataSources as $alias => $dataSource) {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         );
132 132
         $builder->addEventListener(
133 133
             FormEvents::POST_SUBMIT,
134
-            function (FormEvent $event) {
134
+            function(FormEvent $event) {
135 135
                 $widget = $event->getData();
136 136
                 /** @var Criteria $criteria */
137 137
                 foreach ($widget->getCriterias() as $criteria) {
Please login to merge, or discard this patch.
Bundle/APIBusinessEntityBundle/Resolver/APIBusinessEntityResolver.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * filter API to get a list of entities.
100 100
      *
101 101
      * @param APIBusinessEntity $businessEntity
102
-     * @param array             $filters
102
+     * @param array             $filter
103 103
      *
104 104
      * @return mixed
105 105
      */
@@ -123,6 +123,7 @@  discard block
 block discarded – undo
123 123
      * Sends a curl request to a given path.
124 124
      *
125 125
      * @param APIEndpoint $endPoint
126
+     * @param string $getMethod
126 127
      *
127 128
      * @return array
128 129
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $getMethod = $businessEntity->getGetMethod();
51 51
         preg_match_all('/{{([a-zA-Z]+)}}/', $getMethod, $matches);
52 52
         // build an array with businessIdentifiers properties names
53
-        $identifiers = array_map(function ($property) {
53
+        $identifiers = array_map(function($property) {
54 54
             return $property->getName();
55 55
         },
56 56
             $businessEntity->getBusinessIdentifiers()->toArray()
Please login to merge, or discard this patch.
Bundle/BusinessEntityBundle/Converter/ParameterConverter.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Replace the code string with the value of the entity attribute.
16 16
      *
17
-     * @param string           $string
18 17
      * @param BusinessProperty $businessProperty
19 18
      * @param object           $entity
20 19
      *
@@ -41,7 +40,6 @@  discard block
 block discarded – undo
41 40
     /**
42 41
      * Replace the code string with the value of the entity attribute.
43 42
      *
44
-     * @param string $string
45 43
      * @param string $entityProperty
46 44
      * @param string $attributeValue
47 45
      *
Please login to merge, or discard this patch.
Bundle/CoreBundle/Entity/EntityProxy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
     }
185 185
 
186 186
     /**
187
-     * @param mixed $ressource
187
+     * @param mixed $ressourceId
188 188
      */
189 189
     public function setRessourceId($ressourceId)
190 190
     {
Please login to merge, or discard this patch.