Completed
Push — master ( e06469...02af7a )
by Rai
04:48 queued 02:26
created
src/Doctrine/ODM/MongoDB/Repositories/BaseRepository.php 1 patch
Doc Comments   +8 added lines, -2 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)
@@ -40,6 +43,9 @@  discard block
 block discarded – undo
40 43
         return parent::getClassMetadata();
41 44
     }
42 45
 
46
+    /**
47
+     * @return string|null
48
+     */
43 49
     public function getEntityName()
44 50
     {
45 51
         return parent::getDocumentName();
@@ -137,7 +143,7 @@  discard block
 block discarded – undo
137 143
     }
138 144
 
139 145
     /**
140
-     * @param Bludata\Entities\BaseEntityInterface $entity
146
+     * @param BaseEntityInterface $entity
141 147
      *
142 148
      * @return Bludata\Repositories\QueryWorker
143 149
      */
@@ -149,7 +155,7 @@  discard block
 block discarded – undo
149 155
     }
150 156
 
151 157
     /**
152
-     * @param Bludata\Entities\BaseEntityInterface $entity
158
+     * @param BaseEntityInterface $entity
153 159
      *
154 160
      * @return Bludata\Repositories\QueryWorker
155 161
      */
Please login to merge, or discard this patch.
src/Doctrine/ORM/CustomFunctions/String/Format.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      *
26 26
      * @param \Doctrine\ORM\Query\SqlWalker $sqlWalker
27 27
      *
28
-     * @return void
28
+     * @return string
29 29
      */
30 30
     public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker)
31 31
     {
Please login to merge, or discard this patch.
src/Doctrine/Common/Traits/SetPropertiesEntityTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 /**
55 55
                  * Busca a anotação Doctrine\ORM\Mapping\Column.
56 56
                  */
57
-                $column = array_filter($propertyAnnotations, function ($annotation) {
57
+                $column = array_filter($propertyAnnotations, function($annotation) {
58 58
                     return $annotation instanceof Column;
59 59
                 });
60 60
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                 /**
66 66
                  * Busca a anotação Bludata\Doctrine\Common\Annotations\ToObject.
67 67
                  */
68
-                $toObject = array_filter($propertyAnnotations, function ($annotation) {
68
+                $toObject = array_filter($propertyAnnotations, function($annotation) {
69 69
                     return $annotation instanceof ToObject;
70 70
                 });
71 71
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                         /**
85 85
                          * Busca pelas anotações Doctrine\ORM\Mapping\ManyToOne || Doctrine\ORM\Mapping\OneToMany || Doctrine\ORM\Mapping\ManyToMany.
86 86
                          */
87
-                        $ormMapping = array_filter($propertyAnnotations, function ($annotation) {
87
+                        $ormMapping = array_filter($propertyAnnotations, function($annotation) {
88 88
                             return $annotation instanceof ManyToOne
89 89
                                    ||
90 90
                                    $annotation instanceof OneToMany
Please login to merge, or discard this patch.