Completed
Push — master ( 801dab...5b473f )
by Jelle
03:12 queued 20s
created
src/Entity/EntityInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -12,12 +12,22 @@
 block discarded – undo
12 12
  * @author Jelle Sebreghts
13 13
  */
14 14
 interface EntityInterface {
15
+
16
+  /**
17
+   * @return void
18
+   */
15 19
   public function __construct(\stdClass $values);
16 20
 
21
+  /**
22
+   * @return void
23
+   */
17 24
   public function update(\stdClass $values);
18 25
 
19 26
   public function raw();
20 27
 
28
+  /**
29
+   * @return string
30
+   */
21 31
   public static function getEntityType();
22 32
 
23 33
   public static function getPropertyMapDefinition();
Please login to merge, or discard this patch.
src/Entity/EventInterface.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 
7 7
 namespace TheSportsDb\Entity;
8 8
 
9
-use TheSportsDb\Entity\LeagueInterface;
10
-
11 9
 /**
12 10
  * Interface for events.
13 11
  *
Please login to merge, or discard this patch.
src/Entity/Factory/FactoryContainerInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@  discard block
 block discarded – undo
18 18
    *
19 19
    * @param \TheSportsDb\Entity\Factory\FactoryInterface $factory
20 20
    *   The factory to add.
21
+   * @return void
21 22
    */
22 23
   public function addFactory(FactoryInterface $factory, $entityType);
23 24
 
@@ -35,5 +36,8 @@  discard block
 block discarded – undo
35 36
    */
36 37
   public function getFactory($class);
37 38
 
39
+  /**
40
+   * @return void
41
+   */
38 42
   public function setDefaultFactory(FactoryInterface $factory);
39 43
 }
Please login to merge, or discard this patch.
src/Entity/Proxy/LeagueProxy.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,8 @@
 block discarded – undo
6 6
 
7 7
 namespace TheSportsDb\Entity\Proxy;
8 8
 
9
-use TheSportsDb\Exception\TheSportsDbException;
10 9
 use TheSportsDb\Entity\LeagueInterface;
11
-use TheSportsDb\Entity\League;
10
+use TheSportsDb\Exception\TheSportsDbException;
12 11
 
13 12
 /**
14 13
  * A league object that is not yet fully loaded.
Please login to merge, or discard this patch.
src/Entity/Proxy/ProxyInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -16,5 +16,9 @@
 block discarded – undo
16 16
  * @author Jelle Sebreghts
17 17
  */
18 18
 interface ProxyInterface extends EntityInterface, EntityManagerConsumerInterface {
19
+
20
+  /**
21
+   * @return void
22
+   */
19 23
   public function setSportsDbClient(TheSportsDbClientInterface $sportsDbClient);
20 24
 }
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 namespace TheSportsDb\Entity\Proxy;
8 8
 
9 9
 use TheSportsDb\Entity\EntityInterface;
10
-use TheSportsDb\Http\TheSportsDbClientInterface;
11 10
 use TheSportsDb\Entity\EntityManagerConsumerInterface;
11
+use TheSportsDb\Http\TheSportsDbClientInterface;
12 12
 
13 13
 /**
14 14
  * Interface for proxy objects.
Please login to merge, or discard this patch.
src/Entity/Proxy/SeasonProxy.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 namespace TheSportsDb\Entity\Proxy;
8 8
 
9
-use TheSportsDb\Exception\TheSportsDbException;
10 9
 use TheSportsDb\Entity\SeasonInterface;
10
+use TheSportsDb\Exception\TheSportsDbException;
11 11
 
12 12
 /**
13 13
  * A sport object that is not yet fully loaded.
Please login to merge, or discard this patch.
src/Entity/Repository/RepositoryContainerInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,9 @@
 block discarded – undo
16 16
   /**
17 17
    * Add a repository for a class.
18 18
    *
19
-   * @param \TheSportsDb\Repository\RepositoryInterface $repository
19
+   * @param RepositoryInterface $repository
20 20
    *   The repository to add.
21
+   * @return void
21 22
    */
22 23
   public function addRepository(RepositoryInterface $repository);
23 24
 
Please login to merge, or discard this patch.
src/Entity/SportInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
    *
26 26
    * @param \TheSportsDb\Entity\LeagueInterface $league
27 27
    *   The league to add.
28
+   * @return void
28 29
    */
29 30
   public function addLeague(LeagueInterface $league);
30 31
 }
Please login to merge, or discard this patch.
src/Http/TheSportsDbClientInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@
 block discarded – undo
15 15
 
16 16
   /**
17 17
    * {@inheritdoc}
18
+   * @return \stdClass
18 19
    */
19 20
   public function doRequest($endpoint, array $parameters = array());
20 21
 }
Please login to merge, or discard this patch.