Completed
Push — master ( bc6de4...5e2e94 )
by Pavel
06:16 queued 02:32
created
src/Bankiru/Api/Doctrine/Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     /**
82 82
      * Returns class cache configuration
83 83
      *
84
-     * @param $class
84
+     * @param string $class
85 85
      *
86 86
      * @return array|null Null if cache is not enabled for this class (use implementation defaults)
87 87
      */
Please login to merge, or discard this patch.
src/Bankiru/Api/Doctrine/EntityRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Finds all objects in the repository.
59 59
      *
60
-     * @return array The objects.
60
+     * @return ApiCollection The objects.
61 61
      */
62 62
     public function findAll()
63 63
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * @param int|null   $limit
77 77
      * @param int|null   $offset
78 78
      *
79
-     * @return array The objects.
79
+     * @return ApiCollection The objects.
80 80
      *
81 81
      * @throws \UnexpectedValueException
82 82
      */
Please login to merge, or discard this patch.
src/Bankiru/Api/Doctrine/Mapping/EntityMetadata.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@  discard block
 block discarded – undo
125 125
         return $this->identifier;
126 126
     }
127 127
 
128
+    /**
129
+     * @param string[] $identifier
130
+     */
128 131
     public function setIdentifier($identifier)
129 132
     {
130 133
         $this->identifier            = $identifier;
@@ -345,6 +348,9 @@  discard block
 block discarded – undo
345 348
         return $this->associations[$fieldName];
346 349
     }
347 350
 
351
+    /**
352
+     * @param string $customRepositoryClassName
353
+     */
348 354
     public function setCustomRepositoryClass($customRepositoryClassName)
349 355
     {
350 356
         $this->repositoryClass = $customRepositoryClassName;
Please login to merge, or discard this patch.
src/Bankiru/Api/Doctrine/UnitOfWork.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-     * @param $className
88
+     * @param string $className
89 89
      *
90 90
      * @return EntityPersister
91 91
      */
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-     * @param             $className
145
+     * @param             string $className
146 146
      * @param \stdClass   $data
147 147
      * @param object|null $unmanagedProxy
148 148
      *
Please login to merge, or discard this patch.
src/Bankiru/Api/Tests/AbstractEntityManagerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     private $mocks = [];
36 36
 
37 37
     /**
38
-     * @return mixed
38
+     * @return ClientRegistry
39 39
      */
40 40
     public function getRegistry()
41 41
     {
Please login to merge, or discard this patch.
src/Bankiru/Api/Doctrine/ApiEntityCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * @param ApiMetadata $metadata
80 80
      * @param array       $identifiers
81 81
      *
82
-     * @return mixed
82
+     * @return string
83 83
      */
84 84
     private function getEntityKey(ApiMetadata $metadata, array $identifiers)
85 85
     {
Please login to merge, or discard this patch.