Completed
Push — develop ( 20cffe...ad5ee4 )
by Florian
03:42
created
Command/GenerateCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
12 12
 use Symfony\Component\Console\Input\InputInterface;
13 13
 use Symfony\Component\Console\Output\OutputInterface;
14
-
15 14
 use Braincrafted\Bundle\BootstrapBundle\Util\PathUtil;
16 15
 use Symfony\Component\Filesystem\Filesystem;
17 16
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
Form/Extension/TypeSetterExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
12 12
 use Symfony\Component\Console\Input\InputInterface;
13 13
 use Symfony\Component\Console\Output\OutputInterface;
14
-
15 14
 use Braincrafted\Bundle\BootstrapBundle\Util\PathUtil;
16 15
 use Symfony\Component\Filesystem\Filesystem;
17 16
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
Form/Type/BootstrapCollectionType.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
12 12
 use Symfony\Component\Console\Input\InputInterface;
13 13
 use Symfony\Component\Console\Output\OutputInterface;
14
-
15 14
 use Braincrafted\Bundle\BootstrapBundle\Util\PathUtil;
16 15
 use Symfony\Component\Filesystem\Filesystem;
17 16
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Backward compatibility for SF < 3.0
47 47
      *
48
-     * @return null|string
48
+     * @return string
49 49
      */
50 50
     public function getName() {
51 51
         return $this->getBlockPrefix();
Please login to merge, or discard this patch.
Form/Type/FormStaticControlType.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Backward compatibility for SF < 3.0
47 47
      *
48
-     * @return null|string
48
+     * @return string
49 49
      */
50 50
     public function getName() {
51 51
         return $this->getBlockPrefix();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use Symfony\Component\Form\AbstractType;
9 9
 use Symfony\Component\OptionsResolver\OptionsResolver;
10
-use Symfony\Component\Form\Extension\Core\Type\TextType;
11 10
 
12 11
 /**
13 12
  * FormStaticControlType
Please login to merge, or discard this patch.
Form/Type/MoneyType.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Backward compatibility for SF < 3.0
43 43
      *
44
-     * @return null|string
44
+     * @return string
45 45
      */
46 46
     public function getName() {
47 47
         return $this->getBlockPrefix();
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Parses the given pattern matches array and returns the pattern string.
95 95
      *
96
-     * @param array $matches Pattern matches
96
+     * @param string[] $matches Pattern matches
97 97
      *
98 98
      * @return string Pattern
99 99
      */
Please login to merge, or discard this patch.
Util/LegacyFormHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
         'collection' => 'Symfony\Component\Form\Extension\Core\Type\CollectionType'
20 20
     );
21 21
 
22
+    /**
23
+     * @param string $class
24
+     */
22 25
     public static function getType($class)
23 26
     {
24 27
         if (self::isLegacy()) {
Please login to merge, or discard this patch.
Form/Type/FormActionsType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Backward compatibility for SF < 3.0
47 47
      *
48
-     * @return null|string
48
+     * @return string
49 49
      */
50 50
     public function getName() {
51 51
         return $this->getBlockPrefix();
Please login to merge, or discard this patch.