Completed
Push — master ( d1404e...b9be27 )
by Jonathan André
08:02
created
src/Common/Helpers/helpers.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@
 block discarded – undo
58 58
  * Get Enviorment variable
59 59
  */
60 60
 if (!function_exists('env')) {
61
+
62
+    /**
63
+     * @param string $key
64
+     */
61 65
     function env($key, $defaultValue = '')
62 66
     {
63 67
         $env = getenv($key);
Please login to merge, or discard this patch.
src/Doctrine/Common/Interfaces/BaseEntityInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -16,8 +16,14 @@
 block discarded – undo
16 16
 
17 17
     public function forcePersist();
18 18
 
19
+    /**
20
+     * @return void
21
+     */
19 22
     public function prePersist();
20 23
 
24
+    /**
25
+     * @return void
26
+     */
21 27
     public function preUpdate();
22 28
 
23 29
     /**
Please login to merge, or discard this patch.
src/Doctrine/ODM/MongoDB/Entities/BaseEntity.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -169,6 +169,9 @@
 block discarded – undo
169 169
         return $this;
170 170
     }
171 171
 
172
+    /**
173
+     * @param string $key
174
+     */
172 175
     final protected function checkOnyExceptInArray($key, array $options = null)
173 176
     {
174 177
         if (
Please login to merge, or discard this patch.
src/Doctrine/ODM/MongoDB/Repositories/BaseRepository.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
 {
13 13
     abstract public function preSave(BaseEntityInterface $entity);
14 14
 
15
+    /**
16
+     * @return string
17
+     */
15 18
     abstract public function getMessageNotFound();
16 19
 
17 20
     public function validate(BaseEntityInterface $entity)
@@ -137,9 +140,9 @@  discard block
 block discarded – undo
137 140
     }
138 141
 
139 142
     /**
140
-     * @param Bludata\Entities\BaseEntityInterface $entity
143
+     * @param BaseEntityInterface $entity
141 144
      *
142
-     * @return Bludata\Repositories\QueryWorker
145
+     * @return BaseRepository
143 146
      */
144 147
     public function save(BaseEntityInterface $entity)
145 148
     {
@@ -149,9 +152,9 @@  discard block
 block discarded – undo
149 152
     }
150 153
 
151 154
     /**
152
-     * @param Bludata\Entities\BaseEntityInterface $entity
155
+     * @param BaseEntityInterface $entity
153 156
      *
154
-     * @return Bludata\Repositories\QueryWorker
157
+     * @return BaseRepository
155 158
      */
156 159
     public function flush(BaseEntityInterface $entity = null)
157 160
     {
Please login to merge, or discard this patch.
src/Doctrine/ORM/Repositories/BaseRepository.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -134,9 +134,9 @@  discard block
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-     * @param Bludata\Doctrine\Common\Interfaces\BaseEntityInterface $entity
137
+     * @param BaseEntityInterface $entity
138 138
      *
139
-     * @return Bludata\Doctrine\ORM\Repositories\QueryWorker
139
+     * @return BaseRepository
140 140
      */
141 141
     public function save(BaseEntityInterface $entity)
142 142
     {
@@ -146,9 +146,9 @@  discard block
 block discarded – undo
146 146
     }
147 147
 
148 148
     /**
149
-     * @param Bludata\Doctrine\Common\Interfaces\BaseEntityInterface $entity
149
+     * @param BaseEntityInterface $entity
150 150
      *
151
-     * @return Bludata\Doctrine\ORM\Repositories\QueryWorker
151
+     * @return BaseRepository
152 152
      */
153 153
     public function flush(BaseEntityInterface $entity = null)
154 154
     {
Please login to merge, or discard this patch.
src/Doctrine/ORM/Repositories/QueryWorker.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      *
145 145
      * @param array $filters
146 146
      *
147
-     * @return Bludata\Doctrine\ORM\Repositories\QueryWorker
147
+     * @return QueryWorker
148 148
      */
149 149
     public function withFilters(array $filters = null)
150 150
     {
@@ -372,7 +372,6 @@  discard block
 block discarded – undo
372 372
      * Add a "or having" filter.
373 373
      *
374 374
      * @param string $field
375
-     * @param string $order
376 375
      */
377 376
     public function orHaving($field, $operation, $value = null)
378 377
     {
@@ -556,6 +555,7 @@  discard block
 block discarded – undo
556 555
      *
557 556
      * @param string field
558 557
      * @param mix expression
558
+     * @param string|null $campo
559 559
      */
560 560
     private function addQueryField($campo, $expression = 0)
561 561
     {
@@ -638,8 +638,8 @@  discard block
 block discarded – undo
638 638
      * Add joins and return the new field and alias.
639 639
      *
640 640
      * @param $meta - getClassMetaData
641
-     * @param $field
642
-     * @param $alias
641
+     * @param string $field
642
+     * @param string $alias
643 643
      *
644 644
      * @return array
645 645
      */
@@ -668,7 +668,7 @@  discard block
 block discarded – undo
668 668
      * @param $meta - getClassMetaData
669 669
      * @param $fk
670 670
      * @param $field
671
-     * @param $alias
671
+     * @param string $alias
672 672
      * @param $defaultAlias
673 673
      * @param $targetEntity
674 674
      */
Please login to merge, or discard this patch.
src/Lumen/Authentication/JWT/Libs/JWT.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      *
57 57
      * @param string $token
58 58
      *
59
-     * @return Lcobucci\JWT\Token
59
+     * @return Token|null
60 60
      */
61 61
     public function decodeToken($token)
62 62
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Verify is validate token in signature.
78 78
      *
79
-     * @param Lcobucci\JWT\Token $token
79
+     * @param Token $token
80 80
      *
81 81
      * @return bool
82 82
      */
Please login to merge, or discard this patch.
src/Soap/SoapClient.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     /**
190 190
      * Retorna a instancia do SoapClient que foi incializada.
191 191
      *
192
-     * @return mixed
192
+     * @return SoapClient
193 193
      */
194 194
     public function getClient()
195 195
     {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * Recebe o SoapClient que sera utilizado.
201 201
      *
202
-     * @param SoapClient $client
202
+     * @param NativeSoapClient $client
203 203
      *
204 204
      * @return self
205 205
      */
Please login to merge, or discard this patch.
src/Doctrine/Common/Interfaces/BaseRepositoryInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -4,12 +4,21 @@  discard block
 block discarded – undo
4 4
 
5 5
 interface BaseRepositoryInterface
6 6
 {
7
+    /**
8
+     * @return boolean|null
9
+     */
7 10
     public function validate(BaseEntityInterface $entity);
8 11
 
12
+    /**
13
+     * @return string
14
+     */
9 15
     public function getEntityName();
10 16
 
11 17
     public function query();
12 18
 
19
+    /**
20
+     * @return \Bludata\Doctrine\ORM\Repositories\QueryWorker
21
+     */
13 22
     public function findAll();
14 23
 
15 24
     public function findOneBy(array $filters, $abort = true);
@@ -32,7 +41,13 @@  discard block
 block discarded – undo
32 41
 
33 42
     public function createEntity();
34 43
 
44
+    /**
45
+     * @return \Bludata\Doctrine\ORM\Repositories\QueryWorker
46
+     */
35 47
     public function createQueryWorker();
36 48
 
49
+    /**
50
+     * @return string
51
+     */
37 52
     public function getMessageNotFound();
38 53
 }
Please login to merge, or discard this patch.