Completed
Push — master ( a4a9d9...ba350c )
by Korvin
02:23
created
src/Log/Logger.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * Handle info types
55 55
      *
56 56
      * @param $level
57
-     * @param $message
57
+     * @param string $message
58 58
      * @param array $context
59 59
      */
60 60
     private function handleInfo($level, $message, array $context)
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * Handle debub types
67 67
      *
68 68
      * @param $level
69
-     * @param $message
69
+     * @param string $message
70 70
      * @param array $context
71 71
      */
72 72
     private function handleDebug($level, $message, array $context)
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * Handle Errors
81 81
      *
82 82
      * @param $level
83
-     * @param $message
83
+     * @param string $message
84 84
      * @param array $context
85 85
      */
86 86
     private function handleError($level, $message, array $context)
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Interpolate context into a message.
93 93
      * This is copied directly from PSR-3 documentation
94 94
      *
95
-     * @param $message
95
+     * @param string $message
96 96
      * @param array $context
97 97
      * @return string
98 98
      */
Please login to merge, or discard this patch.
src/Route/RouteCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function addGroup($prefix, callable $callback)
43 43
     {
44
-        $this->collector->addGroup($prefix . ':', function (Collector $collector) use ($callback) {
44
+        $this->collector->addGroup($prefix . ':', function(Collector $collector) use ($callback) {
45 45
             return $callback(new RouteCollector($collector));
46 46
         });
47 47
     }
Please login to merge, or discard this patch.
src/Console/Console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         $site = $this->site;
74 74
         $cli = $this->container->get(CLImate::class);
75 75
 
76
-        $dispatcher = Dispatcher::simpleDispatcher(function (RouteCollector $routes) use ($site) {
76
+        $dispatcher = Dispatcher::simpleDispatcher(function(RouteCollector $routes) use ($site) {
77 77
             foreach ($this->collection->all() as $command) {
78 78
                 $command->registerRoutes($routes, $site);
79 79
             }
Please login to merge, or discard this patch.
src/Route/Dispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public static function simpleDispatcher(callable $routeDefinitionCallback, array $options = [])
44 44
     {
45
-        return new static(simpleDispatcher(function (Collector $collector) use ($routeDefinitionCallback) {
45
+        return new static(simpleDispatcher(function(Collector $collector) use ($routeDefinitionCallback) {
46 46
             return $routeDefinitionCallback(new RouteCollector($collector));
47 47
         }, $options));
48 48
     }
Please login to merge, or discard this patch.
src/Console/Command/Package/InstallController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         $this->cli->green('Uninstalled Successfully!');
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $command
95
+     */
93 96
     private function getDefinition(Site $site, $command)
94 97
     {
95 98
         /** @var \Buttress\Concrete\Console\Command\Manager\CommandManager[] $definitions */
Please login to merge, or discard this patch.
src/Console/Command/PackageCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     public function registerRoutes(RouteCollector $collector, Site $site = null)
38 38
     {
39
-        $collector->addGroup('package', function (RouteCollector $collector) {
39
+        $collector->addGroup('package', function(RouteCollector $collector) {
40 40
             // install
41 41
             $collector->addRoute(
42 42
                 'install',
Please login to merge, or discard this patch.
src/Service/Package/Driver/ModernDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
 
160 160
     /**
161 161
      * Get a list of package item objects
162
-     * @return PackageItem[]
162
+     * @return \Generator
163 163
      */
164 164
     public function all()
165 165
     {
Please login to merge, or discard this patch.
src/Service/Result.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     }
21 21
 
22 22
     /**
23
-     * @return success
23
+     * @return boolean
24 24
      */
25 25
     public function success()
26 26
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         }
17 17
 
18 18
         $this->success = (bool) $success;
19
-        $this->errors = (array)$errors;
19
+        $this->errors = (array) $errors;
20 20
     }
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
src/Client/Adapter/ModernAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function attach()
40 40
     {
41
-        $connection =  new ModernConnection();
41
+        $connection = new ModernConnection();
42 42
         $connection->connect($this->resolveApplication());
43 43
 
44 44
         return $connection;
Please login to merge, or discard this patch.