Failed Conditions
Pull Request — master (#12)
by Emanuele
05:02
created
Entity/Feature.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Set parent.
82 82
      *
83
-     * @param Ae\FeatureBundle\Entity\Feature $parent
83
+     * @param Feature $parent
84 84
      */
85 85
     public function setParent(\Ae\FeatureBundle\Entity\Feature $parent)
86 86
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Get parent.
92 92
      *
93
-     * @return mixed
93
+     * @return Feature
94 94
      */
95 95
     public function getParent()
96 96
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     /**
151 151
      * Get role.
152 152
      *
153
-     * @return text
153
+     * @return string
154 154
      */
155 155
     public function getRole()
156 156
     {
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     /**
166 166
      * Add children.
167 167
      *
168
-     * @param Ae\FeatureBundle\Entity\Feature $children
168
+     * @param Feature $children
169 169
      */
170 170
     public function addFeature(\Ae\FeatureBundle\Entity\Feature $children)
171 171
     {
Please login to merge, or discard this patch.
Admin/FeatureAdmin.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,11 +57,11 @@
 block discarded – undo
57 57
         if (!$this->getSubject()->getParent()) {
58 58
             $formMapper
59 59
                 ->add('children', 'sonata_type_collection', array(
60
-                      'required' => false,
61
-                  ), array(
62
-                      'edit'     => 'inline',
63
-                      'inline'   => 'table',
64
-                  ))
60
+                        'required' => false,
61
+                    ), array(
62
+                        'edit'     => 'inline',
63
+                        'inline'   => 'table',
64
+                    ))
65 65
             ;
66 66
         }
67 67
     }
Please login to merge, or discard this patch.
Command/LoadFeatureCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         if (!$bundle) {
34 34
             new \InvalidArgumentException("Bundle `$bundle` does not exists");
35 35
         }
36
-        $found   = array();
36
+        $found = array();
37 37
         $dir = $bundle->getPath().'/Resources/views/';
38 38
         if (!is_dir($dir)) {
39 39
             throw \Exception("'Directory `$dir` does not exists.");
Please login to merge, or discard this patch.
Twig/Extension/FeatureExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct(Feature $service)
19 19
     {
20
-        $this->service  = $service;
20
+        $this->service = $service;
21 21
     }
22 22
 
23 23
     /**
Please login to merge, or discard this patch.