Completed
Pull Request — master (#5841)
by Peter
07:19
created
tests/Doctrine/Tests/ORM/Functional/StandardEntityPersisterTest.php 1 patch
Unused Use Statements   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5
-use Doctrine\Tests\Models\ECommerce\ECommerceCart,
6
-    Doctrine\Tests\Models\ECommerce\ECommerceFeature,
7
-    Doctrine\Tests\Models\ECommerce\ECommerceCustomer,
8
-    Doctrine\Tests\Models\ECommerce\ECommerceProduct;
9
-
10
-use Doctrine\ORM\Mapping\AssociationMapping;
5
+use Doctrine\Tests\Models\ECommerce\ECommerceCart;
6
+use Doctrine\Tests\Models\ECommerce\ECommerceFeature;
7
+use Doctrine\Tests\Models\ECommerce\ECommerceCustomer;
8
+use Doctrine\Tests\Models\ECommerce\ECommerceProduct;
11 9
 
12 10
 /**
13 11
  * Tests capabilities of the persister.
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1080Test.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @param field_type $fooTitle
128
+     * @param string $fooTitle
129 129
      */
130 130
     public function setFooTitle($fooTitle)
131 131
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-     * @param field_type $barTitle
206
+     * @param string $barTitle
207 207
      */
208 208
     public function setBarTitle($barTitle)
209 209
     {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     /**
293 293
      * Retrieve the orderNr property
294 294
      *
295
-     * @return int|null
295
+     * @return integer
296 296
      */
297 297
     public function getOrderNr()
298 298
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1163Test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-     * @param Product $product
206
+     * @param DDC1163Product $product
207 207
      */
208 208
     public function setProduct(DDC1163Product $product)
209 209
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1238Test.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         return $this->name;
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $name
95
+     */
93 96
     public function setName($name)
94 97
     {
95 98
         $this->name = $name;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1335Test.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -173,6 +173,10 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public $phones;
175 175
 
176
+    /**
177
+     * @param string $email
178
+     * @param string $name
179
+     */
176 180
     public function __construct($email, $name, array $numbers = array())
177 181
     {
178 182
         $this->name   = $name;
@@ -208,6 +212,9 @@  discard block
 block discarded – undo
208 212
      */
209 213
     public $user;
210 214
 
215
+    /**
216
+     * @param DDC1335User $user
217
+     */
211 218
     public function __construct($user, $number)
212 219
     {
213 220
         $this->user     = $user;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1392Test.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -89,6 +89,7 @@
 block discarded – undo
89 89
 
90 90
     /**
91 91
      * Set file
92
+     * @param DDC1392File $value
92 93
      */
93 94
     public function setFile($value = null)
94 95
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1430Test.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@
 block discarded – undo
170 170
         return $this->id;
171 171
     }
172 172
 
173
+    /**
174
+     * @param string $status
175
+     */
173 176
     public function __construct($status)
174 177
     {
175 178
         $this->status   = $status;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1436Test.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         return $this->parent;
82 82
     }
83 83
 
84
+    /**
85
+     * @param null|DDC1436Page $parent
86
+     */
84 87
     public function setParent($parent)
85 88
     {
86 89
         $this->parent = $parent;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1509Test.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * Set file
88
+     * @param DDC1509File $value
88 89
      */
89 90
     public function setFile($value = null)
90 91
     {
@@ -104,6 +105,9 @@  discard block
 block discarded – undo
104 105
         return $this->thumbnail;
105 106
     }
106 107
 
108
+    /**
109
+     * @param DDC1509File $thumbnail
110
+     */
107 111
     public function setThumbnail($thumbnail)
108 112
     {
109 113
         $this->thumbnail = $thumbnail;
Please login to merge, or discard this patch.