Completed
Push — master ( 85a7e3...d50bf3 )
by Jelle
02:47
created
src/Entity/EntityManagerInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
    *
29 29
    * @param string $entityType
30 30
    *
31
-   * @return TheSportsDb\Entity\Factory\FactoryInterface
31
+   * @return Factory\FactoryInterface
32 32
    *   The repositort for the given entity type.
33 33
    */
34 34
   public function factory($entityType);
Please login to merge, or discard this patch.
src/Entity/Factory/FactoryInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,5 +27,8 @@
 block discarded – undo
27 27
    */
28 28
   public function create(\stdClass $values, $entityType);
29 29
 
30
+  /**
31
+   * @return \TheSportsDb\Entity\EntityManagerInterface
32
+   */
30 33
   public function getEntityManager();
31 34
 }
Please login to merge, or discard this patch.
src/Http/TheSportsDbClientInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -15,6 +15,8 @@
 block discarded – undo
15 15
 
16 16
   /**
17 17
    * {@inheritdoc}
18
+   * @param string $endpoint
19
+   * @return \stdClass
18 20
    */
19 21
   public function doRequest($endpoint, array $parameters = array());
20 22
 }
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.