Completed
Push — wip-platform ( 7c5e39...8597e7 )
by
unknown
09:24
created
Generator/ControllerGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     private $file;
32 32
 
33 33
     /**
34
-     * @param array|string $skeletonDirectory
34
+     * @param string $skeletonDirectory
35 35
      */
36 36
     public function __construct($skeletonDirectory)
37 37
     {
Please login to merge, or discard this patch.
Admin/Traits/Base.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@
 block discarded – undo
67 67
 
68 68
         if ($this->isGranted('DELETE')) {
69 69
             $actions['delete'] = array(
70
-               'label'              => 'action_delete',
71
-               'translation_domain' => 'SonataAdminBundle',
72
-               'ask_confirmation'   => true,
73
-           );
70
+                'label'              => 'action_delete',
71
+                'translation_domain' => 'SonataAdminBundle',
72
+                'ask_confirmation'   => true,
73
+            );
74 74
         }
75 75
 
76 76
         return $this->handleBatchActions($actions);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Blast\Bundle\CoreBundle\Admin\Traits;
13 13
 
14 14
 use Blast\Bundle\CoreBundle\Admin\CoreAdmin;
15
-use Blast\Bundle\CoreBundle\DataSource\Iterator;
16 15
 use Sonata\AdminBundle\Datagrid\DatagridMapper;
17 16
 use Sonata\AdminBundle\Datagrid\ListMapper;
18 17
 use Sonata\AdminBundle\Form\FormMapper;
Please login to merge, or discard this patch.
Exporter/Exporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         }
55 55
         $writer = $this->writers[$format];
56 56
 
57
-        $callback = function () use ($source, $writer) {
57
+        $callback = function() use ($source, $writer) {
58 58
             $handler = Handler::create($source, $writer);
59 59
             $handler->export();
60 60
         };
Please login to merge, or discard this patch.
Tools/Reflection/ClassAnalyzer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * getInterfaces.
51 51
      *
52
-     * @param ReflectionClass|string $class A ReflectionClass object or a class name
52
+     * @param string $class A ReflectionClass object or a class name
53 53
      *
54
-     * @return array
54
+     * @return string[]
55 55
      */
56 56
     public static function getInterfaces($class)
57 57
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      *
109 109
      * This static method says if a class has a method
110 110
      *
111
-     * @param ReflectionClass|string $class      A ReflectionClass object or a class name
111
+     * @param \ReflectionClass $class      A ReflectionClass object or a class name
112 112
      * @param string                 $methodName a method name
113 113
      *
114 114
      * @return bool
Please login to merge, or discard this patch.