Completed
Pull Request — master (#123)
by Simon
03:20
created
tests/Doctrine/Tests/ODM/CouchDB/Functional/MappedSuperclassTest.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
      */
59 59
     private $mappedRelated1;
60 60
 
61
+    /**
62
+     * @param integer $val
63
+     */
61 64
     public function setMapped1($val)
62 65
     {
63 66
         $this->mapped1 = $val;
@@ -68,6 +71,9 @@  discard block
 block discarded – undo
68 71
         return $this->mapped1;
69 72
     }
70 73
 
74
+    /**
75
+     * @param string $val
76
+     */
71 77
     public function setMapped2($val)
72 78
     {
73 79
         $this->mapped2 = $val;
@@ -78,6 +84,9 @@  discard block
 block discarded – undo
78 84
         return $this->mapped2;
79 85
     }
80 86
 
87
+    /**
88
+     * @param MappedSuperclassRelated1 $mappedRelated1
89
+     */
81 90
     public function setMappedRelated1($mappedRelated1)
82 91
     {
83 92
         $this->mappedRelated1 = $mappedRelated1;
@@ -96,6 +105,9 @@  discard block
 block discarded – undo
96 105
     /** @Field(type="string") */
97 106
     private $name;
98 107
 
108
+    /**
109
+     * @param string $name
110
+     */
99 111
     public function setName($name)
100 112
     {
101 113
         $this->name = $name;
@@ -121,6 +133,9 @@  discard block
 block discarded – undo
121 133
     /** @Field(type="string") */
122 134
     private $name;
123 135
 
136
+    /**
137
+     * @param string $name
138
+     */
124 139
     public function setName($name)
125 140
     {
126 141
         $this->name = $name;
@@ -131,6 +146,9 @@  discard block
 block discarded – undo
131 146
         return $this->name;
132 147
     }
133 148
 
149
+    /**
150
+     * @return string
151
+     */
134 152
     public function getId()
135 153
     {
136 154
         return $this->id;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ODM/CouchDB/Functional/LifecycleCallbacksTest.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ODM\CouchDB\Functional;
4 4
 
5
-use Doctrine\ODM\CouchDB\DocumentManager;
6
-use Doctrine\Tests\Models\LifecycleCallbacks\CallbackProfile;
7
-use Doctrine\Tests\Models\LifecycleCallbacks\CallbackUser;
5
+use Doctrine\ODM\CouchDB\DocumentManager;
6
+use Doctrine\Tests\Models\LifecycleCallbacks\CallbackProfile;
7
+use Doctrine\Tests\Models\LifecycleCallbacks\CallbackUser;
8 8
 use Doctrine\Tests\ODM\CouchDB\CouchDBFunctionalTestCase;
9 9
 
10 10
 class LifecycleCallbacksTest extends CouchDBFunctionalTestCase
Please login to merge, or discard this patch.