Completed
Push — master ( ef9fce...66659a )
by
unknown
14s
created
Bundle/WidgetBundle/Cache/WidgetCacheClearer.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * WidgetCache constructor.
23 23
      *
24
-     * @param Client $cache
24
+     * @param WidgetCache $cache
25 25
      */
26 26
     public function __construct(WidgetCache $cache)
27 27
     {
@@ -29,7 +29,6 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @param Widget $widget
33 32
      *
34 33
      * @return string
35 34
      */
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Connector/ViewReferenceRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $references = $this->repository->getResults($refsId);
89 89
         foreach ($references as $reference) {
90 90
             if ($transform === true) {
91
-                $transformViewReferenceFn = function ($parentViewReference) use (&$transformViewReferenceFn, $keepChildren) {
91
+                $transformViewReferenceFn = function($parentViewReference) use (&$transformViewReferenceFn, $keepChildren) {
92 92
                     $transformer = ViewReferenceManager::findTransformerFromElement($parentViewReference);
93 93
                     $reference = $transformer->transform($parentViewReference);
94 94
                     if ($keepChildren) {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     {
153 153
         $viewsReferences = [];
154 154
 
155
-        $decoratorFn = function ($depth, $char0 = '└', $char = '─') {
155
+        $decoratorFn = function($depth, $char0 = '└', $char = '─') {
156 156
             $decorator = $char0;
157 157
             for ($i = 0; $i <= $depth; $i++) {
158 158
                 $decorator .= $char;
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Connector/ViewReferenceManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     /**
35 35
      * This method save a tree of viewReferences.
36 36
      *
37
-     * @param array  $viewReferences
37
+     * @param \Victoire\Bundle\CoreBundle\Entity\WebViewInterface[]  $viewReferences
38 38
      * @param string $parentId
39 39
      * @param string $parentLocale
40 40
      * @param bool   $reset
Please login to merge, or discard this patch.
Bundle/CriteriaBundle/Chain/DataSourceChain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function addDataSource($dataSource, $parameters)
22 22
     {
23 23
         $method = $parameters['method'];
24
-        $data = function () use ($dataSource, $method) {
24
+        $data = function() use ($dataSource, $method) {
25 25
             return $dataSource->{$method}();
26 26
         };
27 27
         $this->dataSource[$parameters['alias']] = [
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Entity/Widget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -495,7 +495,7 @@
 block discarded – undo
495 495
      */
496 496
     public function hasCriteriaNamed($criteriaAlias)
497 497
     {
498
-        return $this->criterias->exists(function ($key, $element) use ($criteriaAlias) {
498
+        return $this->criterias->exists(function($key, $element) use ($criteriaAlias) {
499 499
             return $criteriaAlias === $element->getName();
500 500
         });
501 501
     }
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Command/MigrateWidgetOwningSideCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             $widget = $widgetMap->getWidget();
44 44
             $widget->setWidgetMap($widgetMap);
45 45
             $widgetMap->setWidget(null);
46
-            if ($key % 100 == 0) {
46
+            if ($key%100 == 0) {
47 47
                 $entityManager->flush();
48 48
             }
49 49
             $progress->advance();
Please login to merge, or discard this patch.
Bundle/BlogBundle/Entity/ArticleTranslation.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param string $name
65 65
      *
66
-     * @return View
66
+     * @return ArticleTranslation
67 67
      */
68 68
     public function setName($name)
69 69
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param string $slug
79 79
      *
80
-     * @return View
80
+     * @return ArticleTranslation
81 81
      */
82 82
     public function setSlug($slug)
83 83
     {
@@ -109,9 +109,8 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * Set category.
111 111
      *
112
-     * @param string $category
113 112
      *
114
-     * @return Article
113
+     * @return ArticleTranslation
115 114
      */
116 115
     public function setDescription($description)
117 116
     {
Please login to merge, or discard this patch.
Bundle/BusinessPageBundle/Builder/BusinessPageBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
     /**
216 216
      * @param VirtualBusinessPage $page
217 217
      * @param BusinessTemplate    $businessTemplate
218
-     * @param array               $businessProperties
218
+     * @param BusinessProperty[]               $businessProperties
219 219
      * @param EntityManager       $em
220 220
      * @param                     $entity
221 221
      *
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
          * @param bool $autoload
99 99
          * @return array
100 100
          */
101
-        $class_uses_deep = function ($class, $autoload = true) {
101
+        $class_uses_deep = function($class, $autoload = true) {
102 102
             $traits = [];
103 103
             do {
104 104
                 $traits = array_merge(class_uses($class, $autoload), $traits);
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Twig/LinkExtension.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,6 @@
 block discarded – undo
190 190
      *
191 191
      * @param array  $parameters The link parameters (go to LinkTrait to have the list)
192 192
      * @param string $label      link label
193
-     * @param array  $attr       custom attributes
194 193
      *
195 194
      * @return string
196 195
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@
 block discarded – undo
264 264
 
265 265
     private function formatAttributes($attributes)
266 266
     {
267
-        array_walk($attributes, function (&$item, $key) {
267
+        array_walk($attributes, function(&$item, $key) {
268 268
             if (is_array($item)) {
269 269
                 $item = implode($item, ' ');
270 270
             }
Please login to merge, or discard this patch.