Completed
Pull Request — master (#190)
by bloveless
08:27
created
src/Http/Middleware/SetLocale.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Closure;
4 4
 use Illuminate\Contracts\Config\Repository;
5
-use Illuminate\Contracts\Events\Dispatcher;
6 5
 use Illuminate\Foundation\Application;
7 6
 use Illuminate\Http\Request;
8 7
 use Illuminate\Routing\Redirector;
Please login to merge, or discard this patch.
src/Http/Routing/Matching/CaseInsensitiveUriValidator.php 1 patch
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
      * @param  \Illuminate\Routing\Route $route
22 22
      * @param  \Illuminate\Http\Request  $request
23
-     * @return bool
23
+     * @return integer
24 24
      */
25 25
     public function matches(Route $route, Request $request)
26 26
     {
Please login to merge, or discard this patch.
src/Installer/Console/Install.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use Anomaly\Streams\Platform\Installer\InstallerCollection;
25 25
 use Anomaly\Streams\Platform\Support\Collection;
26 26
 use Illuminate\Console\Command;
27
-use Illuminate\Contracts\Config\Repository;
28 27
 use Illuminate\Contracts\Events\Dispatcher;
29 28
 use Illuminate\Foundation\Bus\DispatchesJobs;
30 29
 
Please login to merge, or discard this patch.
src/Installer/Installer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Create a new Installer instance.
32 32
      *
33
-     * @param          $message
34
-     * @param callable $task
33
+     * @param          string $message
34
+     * @param Closure $task
35 35
      */
36 36
     function __construct($message, Closure $task)
37 37
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Get the task.
54 54
      *
55
-     * @return callable
55
+     * @return Closure
56 56
      */
57 57
     public function getTask()
58 58
     {
Please login to merge, or discard this patch.
src/Model/EloquentQueryBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Index cache collection
97 97
      *
98
-     * @return object
98
+     * @return EloquentQueryBuilder
99 99
      */
100 100
     protected function indexCacheCollection()
101 101
     {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * Get fresh models / disable cache
137 137
      *
138 138
      * @param  boolean $fresh
139
-     * @return object
139
+     * @return EloquentQueryBuilder
140 140
      */
141 141
     public function fresh($fresh = true)
142 142
     {
Please login to merge, or discard this patch.
src/Model/EloquentRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      * Delete a record.
159 159
      *
160 160
      * @param EloquentModel $entry
161
-     * @return bool
161
+     * @return boolean|null
162 162
      */
163 163
     public function delete(EloquentModel $entry)
164 164
     {
Please login to merge, or discard this patch.
src/Stream/StreamModel.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * Get the namespace.
242 242
      *
243
-     * @return mixed
243
+     * @return string
244 244
      */
245 245
     public function getNamespace()
246 246
     {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     /**
251 251
      * Get the slug.
252 252
      *
253
-     * @return mixed
253
+     * @return string
254 254
      */
255 255
     public function getSlug()
256 256
     {
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
      * Get a stream field by it's slug.
478 478
      *
479 479
      * @param  $slug
480
-     * @return mixed
480
+     * @return null|FieldInterface
481 481
      */
482 482
     public function getField($slug)
483 483
     {
Please login to merge, or discard this patch.
src/Stream/StreamRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      * Create a new Stream.
48 48
      *
49 49
      * @param array $attributes
50
-     * @return StreamInterface
50
+     * @return StreamModel|null
51 51
      */
52 52
     public function create(array $attributes = [])
53 53
     {
Please login to merge, or discard this patch.
src/Support/Collection.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
      * Return shuffled items.
18 18
      * Preserve the index keys.
19 19
      *
20
-     * @param int $amount
21 20
      * @return static
22 21
      */
23 22
     public function shuffle()
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php namespace Anomaly\Streams\Platform\Support;
2 2
 
3
-use Illuminate\Contracts\Config\Repository;
4
-
5 3
 /**
6 4
  * Class Collection
7 5
  *
Please login to merge, or discard this patch.