Completed
Push — wip-platform ( 9d73fe...058edf )
by
unknown
08:10
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.
Tests/Unit/Generator/BlastGeneratorTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,11 +61,11 @@
 block discarded – undo
61 61
         $map = [
62 62
             ['Model', ['foo', 'bar', 'not_an_id']],
63 63
             ['Ledom', ['id', 'zoo', 'rab']],
64
-         ];
64
+            ];
65 65
         $modelManagerMock
66
-             ->expects($this->any())
67
-             ->method('getExportFields')
68
-             ->will($this->returnValueMap($map));
66
+                ->expects($this->any())
67
+                ->method('getExportFields')
68
+                ->will($this->returnValueMap($map));
69 69
 
70 70
         $this->modelManager = $modelManagerMock;
71 71
         $this->object = new BlastGenerator(
Please login to merge, or discard this patch.
Tools/Reflection/ClassAnalyzer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
     /**
51 51
      * getInterfaces.
52 52
      *
53
-     * @param ReflectionClass|string $class A ReflectionClass object or a class name
53
+     * @param string $class A ReflectionClass object or a class name
54 54
      *
55
-     * @return array
55
+     * @return string[]
56 56
      */
57 57
     public static function getInterfaces($class)
58 58
     {
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.