Completed
Push — master ( 28e213...75d594 )
by Leny
16:09 queued 08:14
created
Bundle/WidgetMapBundle/Builder/WidgetMapBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -106,6 +106,10 @@
 block discarded – undo
106 106
      * depending of the children parents and positions
107 107
      * @param WidgetMap $currentWidgetMap
108 108
      */
109
+
110
+    /**
111
+     * @param View $view
112
+     */
109 113
     protected function orderizeWidgetMap($currentWidgetMap, $builtWidgetMap, $slot, $widgetMaps, $view){
110 114
         $children = $currentWidgetMap->getChildren($view);
111 115
         foreach ($children as $child) {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Handler/WidgetExceptionHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * Constructor.
23 23
      *
24
-     * @param SecurityContext $authorizationChecker
24
+     * @param AuthorizationChecker $authorizationChecker
25 25
      * @param TwigEngine      $twig
26 26
      * @param bool            $debug      The debug variable environment
27 27
      * @param TemplateMapper  $templating The victoire templating
Please login to merge, or discard this patch.
Bundle/MediaBundle/Form/FolderType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 'choices'   => ['media' => 'media', 'image' => 'image', 'slideshow' => 'slideshow', 'video' => 'video'],
43 43
                 ])
44 44
             ->add('parent', EntityType::class, ['class' => 'Victoire\Bundle\MediaBundle\Entity\Folder', 'required' => false,
45
-                'query_builder'                         => function (\Doctrine\ORM\EntityRepository $er) use ($folder, $type) {
45
+                'query_builder'                         => function(\Doctrine\ORM\EntityRepository $er) use ($folder, $type) {
46 46
                     $qb = $er->createQueryBuilder('folder');
47 47
 
48 48
                     if ($folder != null && $folder->getId() != null) {
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Form/WidgetOptionsContainer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param array $options
41 40
      */
42 41
     public function add($key, $value)
43 42
     {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Command/WidgetCssGenerateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             ->getQuery()
59 59
             ->getResult();
60 60
         $templates = [];
61
-        $recursiveGetTemplates = function ($template) use (&$recursiveGetTemplates, &$templates) {
61
+        $recursiveGetTemplates = function($template) use (&$recursiveGetTemplates, &$templates) {
62 62
             array_push($templates, $template);
63 63
             foreach ($template->getInheritors() as $template) {
64 64
                 if ($template instanceof Template) {
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Helper/WidgetHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
                 if (array_key_exists('cache_timout', $widgetParams)) {
159 159
                     return $widgetParams['cache_timout'];
160 160
                 } else {
161
-                    return 7 * 24 * 60 * 1000; // one week by default
161
+                    return 7*24*60*1000; // one week by default
162 162
                 }
163 163
             }
164 164
         }
Please login to merge, or discard this patch.
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/CoreBundle/Builder/ViewCssBuilder.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Construct.
24 24
      *
25
-     * @param EngineInterface $templating
26 25
      * @param                 $victoireTwigResponsive
27 26
      * @param                 $kernelRootDir
28 27
      *
@@ -39,7 +38,7 @@  discard block
 block discarded – undo
39 38
     /**
40 39
      * Update css by removing old file and writing new file.
41 40
      *
42
-     * @param $oldHash
41
+     * @param string $oldHash
43 42
      * @param View  $view
44 43
      * @param array $widgets
45 44
      */
@@ -169,7 +168,7 @@  discard block
 block discarded – undo
169 168
      * Write css file.
170 169
      *
171 170
      * @param $view
172
-     * @param $css
171
+     * @param string $css
173 172
      */
174 173
     private function writeCssFile(View $view, $css)
175 174
     {
Please login to merge, or discard this patch.