Completed
Push — extensions-support ( 75d97d...972b2b )
by Patrick
03:46
created
src/Extensions/Gedmo/Mappings/Translatable/AbstractTranslationMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function map(Fluent $builder)
24 24
     {
25
-        $builder->integer('id')->unsigned()->primary()->generatedValue(function (GeneratedValue $builder) {
25
+        $builder->integer('id')->unsigned()->primary()->generatedValue(function(GeneratedValue $builder) {
26 26
             $builder->identity();
27 27
         });
28 28
         $builder->integer('depth');
Please login to merge, or discard this patch.
src/Builders/Traits/Queueable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         /** @var Buildable[] $queued */
40 40
         $queued = $this->getQueued();
41 41
 
42
-        usort($queued, function (Buildable $buildable) {
42
+        usort($queued, function(Buildable $buildable) {
43 43
             return $buildable instanceof Delay ? 1 : 0;
44 44
         });
45 45
 
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Tree.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -275,8 +275,8 @@
 block discarded – undo
275 275
     }
276 276
 
277 277
     /**
278
-     * @param      $field
279
-     * @param      $type
278
+     * @param      string $field
279
+     * @param      string $type
280 280
      * @param      $name
281 281
      * @param bool $nullable
282 282
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public static function enable()
94 94
     {
95
-        Builder::macro(self::MACRO_METHOD, function (Fluent $fluent, $strategy = 'nested', $callback = null, $autoComplete = false) {
95
+        Builder::macro(self::MACRO_METHOD, function(Fluent $fluent, $strategy = 'nested', $callback = null, $autoComplete = false) {
96 96
             $tree = new static($fluent->getBuilder()->getClassMetadata(), $strategy, $autoComplete);
97 97
 
98 98
             if (is_callable($callback)) {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             return $tree;
103 103
         });
104 104
 
105
-        Builder::macro('nestedSet', function (Fluent $fluent, $callback = null) {
105
+        Builder::macro('nestedSet', function(Fluent $fluent, $callback = null) {
106 106
             return $fluent->tree('nested', $callback, true);
107 107
         });
108 108
 
Please login to merge, or discard this patch.