Passed
Branch release/1.5.0 (3fa0b2)
by vincent
02:31
created
src/Catalog.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * Constructor
43
-     * @param vfalies\tmdb\Interfaces\TmdbInterface $tmdb
43
+     * @param TmdbInterface $tmdb
44 44
      */
45 45
     public function __construct(TmdbInterface $tmdb)
46 46
     {
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Catalogs/Jobs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * Get job list
46 46
      * @param array $options
47
-     * @return \Generator|\stdClass
47
+     * @return \Generator
48 48
      * @throws \vfalies\tmdb\Catalogs\TmdbException
49 49
      */
50 50
     public function getList(array $options = array())
Please login to merge, or discard this patch.
src/Items/Company.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 
117 117
     /**
118 118
      * Company movies list
119
-     * @return \Generator|Results\Movie
119
+     * @return \Generator
120 120
      */
121 121
     public function getMovies()
122 122
     {
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Tmdb.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Constructor
91 91
      * @param string $api_key TMDB API Key
92
-     * @param string $version Version of API (Not yet used)
92
+     * @param integer $version Version of API (Not yet used)
93 93
      * @param LoggerInterface $logger Logger used in the class
94 94
      */
95 95
     public function __construct($api_key, $version = 3, LoggerInterface $logger)
Please login to merge, or discard this patch.
src/Traits/Results/ShowTrait.php 1 patch
Indentation   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@  discard block
 block discarded – undo
7 7
  * For the full copyright and license information, please view the LICENSE
8 8
  * file that was distributed with this source code.
9 9
  *
10
-
11 10
  * @author Vincent Faliès <[email protected]>
12 11
  * @copyright Copyright (c) 2017
13 12
  */
@@ -49,10 +48,10 @@  discard block
 block discarded – undo
49 48
      */
50 49
     protected $title;
51 50
 
52
-     /**
53
-     * Get show ID
54
-     * @return int
55
-     */
51
+        /**
52
+         * Get show ID
53
+         * @return int
54
+         */
56 55
     public function getId()
57 56
     {
58 57
         return (int) $this->id;
Please login to merge, or discard this patch.
src/Factory.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Create
38 38
      * @param array $loggerConf
39
-     * @return \static
39
+     * @return Factory
40 40
      */
41 41
     public static function create($loggerConf = ['builder' => 'NullLogger', 'config' => []])
42 42
     {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * Get Tmdb object
51 51
      * @param string $api_key API Key
52 52
      * @param int $version API Version (not yet used)
53
-     * @return TmdbInterface
53
+     * @return Tmdb
54 54
      */
55 55
     public function getTmdb($api_key, $version = 3)
56 56
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * Get Builder
62 62
      * @param string $builder
63 63
      * @param array $args
64
-     * @return type
64
+     * @return LoggerBuilderInterface
65 65
      */
66 66
     public function getBuilder($builder, array $args = [])
67 67
     {
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Abstracts/Item.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Abstracts/Results.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.
src/Exceptions/ServerErrorException.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  *
11
-
12 11
  * @author Vincent Faliès <[email protected]>
13 12
  * @copyright Copyright (c) 2017
14 13
  */
Please login to merge, or discard this patch.