Completed
Push — master ( 0eab77...b2f729 )
by Paul
05:35
created
Bundle/CoreBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
                             ->scalarNode('class')->end()
65 65
                             ->scalarNode('name')->end()
66 66
                             ->scalarNode('cache')->defaultTrue()->end()
67
-                            ->scalarNode('cache_timeout')->defaultValue(7 * 24 * 60 * 1000)->end() //one week
67
+                            ->scalarNode('cache_timeout')->defaultValue(7*24*60*1000)->end() //one week
68 68
                         ->end()
69 69
                     ->end()
70 70
                 ->defaultValue([])
Please login to merge, or discard this patch.
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 2 patches
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.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * Get businessEntityName.
174 174
      *
175
-     * @return int
175
+     * @return string
176 176
      */
177 177
     public function getBusinessEntityName()
178 178
     {
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
     /**
370 370
      * Set widgets.
371 371
      *
372
-     * @param [WidgetMap] $widgetMaps
372
+     * @param [WidgetMap] $widgetMap
373 373
      *
374 374
      * @return Widget
375 375
      */
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     }
501 501
 
502 502
     /**
503
-     * @param $criteriaAlias
503
+     * @param string $criteriaAlias
504 504
      *
505 505
      * @return bool
506 506
      */
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.