Passed
Push — master ( f4a7a1...e8fd46 )
by Alexey
03:49
created
src/Console/src/Command.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * Helper method to get input argument
37 37
      *
38 38
      * @param string $name
39
-     * @return mixed
39
+     * @return string
40 40
      */
41 41
     public function arg(string $name)
42 42
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * Helper method to get input option
84 84
      *
85 85
      * @param string $name
86
-     * @return mixed
86
+     * @return string
87 87
      */
88 88
     public function opt(string $name)
89 89
     {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      * Returns command arguments array
95 95
      * Values must be instances of InputArgument
96 96
      *
97
-     * @return array|InputArgument[]
97
+     * @return \Symfony\Component\Console\Input\InputArgument[]
98 98
      */
99 99
     public function returnArguments(): array
100 100
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Returns command options array
106 106
      * Values must be instances of InputOption
107 107
      *
108
-     * @return array|InputOption[]
108
+     * @return \Symfony\Component\Console\Input\InputOption[]
109 109
      */
110 110
     public function returnOptions(): array
111 111
     {
Please login to merge, or discard this patch.
src/Container/src/Container.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@
 block discarded – undo
397 397
     /**
398 398
      * Verifies that provided callable can be called by service container.
399 399
      *
400
-     * @param $normalizedCallable
400
+     * @param callable $normalizedCallable
401 401
      * @return bool
402 402
      */
403 403
     private function isResolvableCallable($normalizedCallable): bool
Please login to merge, or discard this patch.
src/Container/src/Exception/UnresolvableDependencyException.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @inheritDoc
20 20
      * @param ArgumentResolverException $previous
21
+     * @param string $entryId
21 22
      */
22 23
     public function __construct($entryId, array $referenceChain, ArgumentResolverException $previous)
23 24
     {
Please login to merge, or discard this patch.
src/Contracts/src/Http/Cookie.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Method that transforms Class to a plain text to include it in Response header
55 55
      *
56
-     * @return mixed
56
+     * @return string
57 57
      */
58 58
     public function asPlainText();
59 59
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     public function getName();
74 74
 
75 75
     /**
76
-     * @return string;
76
+     * @return string|null
77 77
      */
78 78
     public function getValue();
79 79
 
Please login to merge, or discard this patch.
src/Framework/ErrorHandler/ErrorHandlerLogger.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * ErrorHandlerLogger constructor.
27 27
      *
28
-     * @param LoggerInterface $logger
28
+     * @param \Psr\Log\LoggerInterface $logger
29 29
      */
30 30
     public function __construct(LoggerInterface $logger)
31 31
     {
Please login to merge, or discard this patch.
src/Framework/ErrorHandler/ErrorHandlerProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     /**
47 47
      * Adding error handling middleware
48 48
      *
49
-     * @param \Venta\Contracts\Routing\MiddlewareCollector $middlewareCollector
49
+     * @param \Mockery\MockInterface $middlewareCollector
50 50
      * @return void
51 51
      */
52 52
     public function provideMiddlewares(MiddlewareCollector $middlewareCollector)
Please login to merge, or discard this patch.
src/Http/src/Cookie.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Cookie constructor.
30 30
      *
31
-     * @param        $name
32
-     * @param null $value
31
+     * @param        string $name
32
+     * @param string $value
33 33
      * @param int $expire
34 34
      * @param string $path
35
-     * @param null $domain
35
+     * @param string $domain
36 36
      * @param bool $secure
37 37
      * @param bool $httpOnly
38 38
      */
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param $days
98
+     * @param integer $days
99 99
      * @return int timestamp
100 100
      */
101 101
     public static function inDays($days)
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     }
105 105
 
106 106
     /**
107
-     * @param $hours
107
+     * @param integer $hours
108 108
      * @return int timestamp
109 109
      */
110 110
     public static function inHours($hours)
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @param $minutes
116
+     * @param integer $minutes
117 117
      * @return int timestamp
118 118
      */
119 119
     public static function inMinutes($minutes)
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     }
123 123
 
124 124
     /**
125
-     * @param $months
125
+     * @param integer $months
126 126
      * @return int timestamp
127 127
      */
128 128
     public static function inMonths($months)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-     * @param $days
134
+     * @param integer $days
135 135
      * @return int timestamp
136 136
      */
137 137
     public static function inWeeks($days)
Please login to merge, or discard this patch.
src/Mail/src/EventDispatcherAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * @param \Swift_Events_EventObject $evt
46
-     * @param $target
46
+     * @param string $target
47 47
      * @return string
48 48
      */
49 49
     protected function normalizeEventName(Swift_Events_EventObject $evt, $target)
Please login to merge, or discard this patch.
src/Mail/src/Mailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@
 block discarded – undo
223 223
     /**
224 224
      * Returns proper transport closure factory
225 225
      *
226
-     * @param $transportName
226
+     * @param string $transportName
227 227
      * @return \Closure
228 228
      */
229 229
     protected function getTransport($transportName)
Please login to merge, or discard this patch.