Passed
Push — release/2.5.x ( d9e2f7...f4336c )
by Muhammed
05:45
created
src/Zicht/Bundle/PageBundle/Entity/ViewablePageRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 /**
3 3
  * @author Oskar van Velden <[email protected]>
4 4
  * @copyright Zicht Online <http://zicht.nl>
5
-  */
5
+ */
6 6
 
7 7
 namespace Zicht\Bundle\PageBundle\Entity;
8 8
 
Please login to merge, or discard this patch.
src/Zicht/Bundle/PageBundle/Url/PageUrlProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
         $suggestions = array();
86 86
         foreach ($pages as $page) {
87
-            $suggestions[]= array(
87
+            $suggestions[] = array(
88 88
                 'value' => $this->url($page),
89 89
                 'label' => $this->getLabel($page)
90 90
             );
Please login to merge, or discard this patch.
src/Zicht/Bundle/PageBundle/Model/ContentItemMatrix.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         if (array_key_exists($region, $this->matrix)) {
115 115
             array_walk(
116 116
                 $this->matrix[$region],
117
-                function ($value, $idx, $matrix) use ($type, $region) {
117
+                function($value, $idx, $matrix) use ($type, $region) {
118 118
                     $class = explode('\\', $value);
119 119
                     $className = array_pop($class);
120 120
                     if ($className === $type) {
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         if (!class_exists($className)) {
142 142
             throw new \InvalidArgumentException("Class {$className} is non-existent or could not be loaded");
143 143
         }
144
-        $this->matrix[$this->currentRegion][]= $className;
144
+        $this->matrix[$this->currentRegion][] = $className;
145 145
         return $this;
146 146
     }
147 147
 
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     public function ns($namespace)
156 156
     {
157
-        if ('\\' !== $namespace{strlen($namespace) -1}) {
157
+        if ('\\' !== $namespace{strlen($namespace) - 1}) {
158 158
             $namespace .= '\\';
159 159
         }
160 160
         $this->namespacePrefix = $namespace;
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         $ret = array();
197 197
         foreach ($this->matrix as $region => $types) {
198 198
             if (in_array($type, $types)) {
199
-                $ret[]= $region;
199
+                $ret[] = $region;
200 200
             }
201 201
         }
202 202
         return $ret;
Please login to merge, or discard this patch.