Completed
Push — master ( 845fbb...5eabbd )
by Vagner Luz do
16:03
created
src/TinkerShell.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Get an array of Laravel tailored casters.
85 85
      *
86
-     * @return array
86
+     * @return callable[]
87 87
      */
88 88
     protected function getCasters()
89 89
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Get artisan commands to pass through to PsySH.
99 99
      *
100
-     * @return array
100
+     * @return \Symfony\Component\Console\Command\Command[]
101 101
      */
102 102
     protected function getCommands()
103 103
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function getShell()
67 67
     {
68
-        if (! $this->shell) {
68
+        if (!$this->shell) {
69 69
             $config = new Configuration();
70 70
 
71 71
             $config->getPresenter()->addCasters(
Please login to merge, or discard this patch.
src/TinkerCaster.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
         $results = [];
46 46
         foreach (self::$appProperties as $property) {
47 47
             try {
48
-				if (method_exists($app, $property)) {
49
-					$val = $app->$property();
48
+                if (method_exists($app, $property)) {
49
+                    $val = $app->$property();
50 50
 					
51
-					if (! is_null($val)) {
52
-						$results[Caster::PREFIX_VIRTUAL.$property] = $val;
53
-					}
54
-				}
51
+                    if (! is_null($val)) {
52
+                        $results[Caster::PREFIX_VIRTUAL.$property] = $val;
53
+                    }
54
+                }
55 55
             } catch (Exception $e) {
56 56
                 //
57 57
             }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 				if (method_exists($app, $property)) {
49 49
 					$val = $app->$property();
50 50
 					
51
-					if (! is_null($val)) {
51
+					if (!is_null($val)) {
52 52
 						$results[Caster::PREFIX_VIRTUAL.$property] = $val;
53 53
 					}
54 54
 				}
Please login to merge, or discard this patch.
bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once __DIR__ . '/vendor/autoload.php';
3
+require_once __DIR__.'/vendor/autoload.php';
4 4
 
5 5
 $path = __DIR__.'/fixture';
6 6
 
Please login to merge, or discard this patch.