Completed
Push — master ( 33966f...5c4252 )
by Jelle
03:27
created
src/Entity/EntityManagerConsumerInterface.php 1 patch
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.
src/Entity/Repository/RepositoryInterface.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/Entity/Proxy/Proxy.php 1 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/EntityPropertyUtil.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
     $return = $val;
19 19
     if (method_exists($val, 'raw')) {
20 20
       $return = $val->raw();
21
-    }
22
-    elseif (is_array($val)) {
21
+    } elseif (is_array($val)) {
23 22
       $return = array();
24 23
       foreach ($val as $v) {
25 24
         $return[] = method_exists($v, 'raw') ? $v->raw() : $v;
Please login to merge, or discard this patch.
src/Entity/EntityManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -130,6 +130,7 @@
 block discarded – undo
130 130
 
131 131
   /**
132 132
    * {@inheritdoc}
133
+   * @param string $entityType
133 134
    */
134 135
   public function getPropertyMapDefinition($entityType) {
135 136
     if (!isset($this->propertyMapDefinitions[$entityType])) {
Please login to merge, or discard this patch.
src/Entity/Factory/FactoryInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
    */
28 28
   public function create(\stdClass $values, $entityType);
29 29
 
30
-   /**
31
-   * Gets the entity manager of this factory.
32
-   *
33
-   * @return \TheSportsDb\Entity\EntityManagerInterface
34
-   *   The entity manager for this factory.
35
-   */
30
+    /**
31
+     * Gets the entity manager of this factory.
32
+     *
33
+     * @return \TheSportsDb\Entity\EntityManagerInterface
34
+     *   The entity manager for this factory.
35
+     */
36 36
   public function getEntityManager();
37 37
 }
Please login to merge, or discard this patch.