Completed
Push — master ( ef9fce...66659a )
by
unknown
14s
created
Bundle/APIBusinessEntityBundle/Resolver/APIBusinessEntityResolver.php 1 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/SitemapBundle/Controller/SitemapController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Victoire\Bundle\SitemapBundle\Controller;
4 4
 
5
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
6 5
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
8 7
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
Please login to merge, or discard this patch.
Tests/Functional/VictoireWebTestCase.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * Victoire login.
72 72
      *
73 73
      * @param Client $client
74
-     * @param array  $roles
74
+     * @param string[]  $roles
75 75
      */
76 76
     protected function logIn(Client $client, array $roles)
77 77
     {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * Get seeds files for Users, Pages and Templates.
141 141
      *
142
-     * @return array
142
+     * @return string[]
143 143
      */
144 144
     private function getSeeds()
145 145
     {
Please login to merge, or discard this patch.
Tests/App/src/Acme/AppBundle/DataFixtures/Seeds/ORM/LoadFixtureData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
         while ($file = readdir($openFolder)) {
153 153
             if ($file != '.' && $file != '..') {
154 154
                 // Remove file
155
-                $recursiveDelete = function ($str) use (&$recursiveDelete) {
155
+                $recursiveDelete = function($str) use (&$recursiveDelete) {
156 156
                     if (is_file($str)) {
157 157
                         return @unlink($str);
158 158
                     } elseif (is_dir($str)) {
Please login to merge, or discard this patch.
App/src/Acme/AppBundle/DataFixtures/Seeds/Loader/VictoireYamlLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         ob_start();
21 21
         $loader = $this;
22
-        $includeWrapper = function () use ($file, $loader) {
22
+        $includeWrapper = function() use ($file, $loader) {
23 23
             return include $file;
24 24
         };
25 25
         $data = $includeWrapper();
Please login to merge, or discard this patch.
Bundle/SeoBundle/Helper/PageSeoHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * Generate a seo for the page using the current entity.
62 62
      *
63 63
      * @param Page   $page
64
-     * @param Entity $entity
64
+     * @param \Victoire\Bundle\BusinessEntityBundle\Entity\BusinessEntityInterface $entity
65 65
      */
66 66
     public function updateSeoByEntity(BasePage $page, $entity)
67 67
     {
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Builder/WidgetFormBuilder.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -183,6 +183,7 @@
 block discarded – undo
183 183
      * @param string $businessEntityId
184 184
      * @param string $formMode
185 185
      * @param int    $position
186
+     * @param string $slotId
186 187
      *
187 188
      * @throws \Exception
188 189
      *
Please login to merge, or discard this patch.
Bundle/BlogBundle/Entity/Blog.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     /**
125 125
      * Get categories.
126 126
      *
127
-     * @return string
127
+     * @return ArrayCollection
128 128
      */
129 129
     public function getCategories()
130 130
     {
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-     * @return string
179
+     * @return ArrayCollection
180 180
      */
181 181
     public function getTags()
182 182
     {
Please login to merge, or discard this patch.