@@ -51,6 +51,9 @@ discard block |
||
| 51 | 51 | $this->_em->flush(); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $class |
|
| 56 | + */ |
|
| 54 | 57 | private function createCars($class) |
| 55 | 58 | { |
| 56 | 59 | $bimmer = new $class; |
@@ -77,6 +80,9 @@ discard block |
||
| 77 | 80 | return array($bimmer, $crysler, $merc, $volvo); |
| 78 | 81 | } |
| 79 | 82 | |
| 83 | + /** |
|
| 84 | + * @param string $class |
|
| 85 | + */ |
|
| 80 | 86 | private function createDrivers($class) |
| 81 | 87 | { |
| 82 | 88 | $john = new $class; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
| 3 | 3 | |
| 4 | -use Doctrine\Tests\Models\Taxi\Ride, |
|
| 5 | - Doctrine\Tests\Models\Taxi\PaidRide; |
|
| 4 | +use Doctrine\Tests\Models\Taxi\Ride; |
|
| 5 | +use Doctrine\Tests\Models\Taxi\PaidRide; |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * @group DDC-1884 |
@@ -106,6 +106,9 @@ |
||
| 106 | 106 | */ |
| 107 | 107 | private $value; |
| 108 | 108 | |
| 109 | + /** |
|
| 110 | + * @param string $value |
|
| 111 | + */ |
|
| 109 | 112 | public function __construct($value) |
| 110 | 113 | { |
| 111 | 114 | $this->value = $value; |
@@ -169,7 +169,6 @@ discard block |
||
| 169 | 169 | * |
| 170 | 170 | * @param User $user |
| 171 | 171 | * @param User $followedUser |
| 172 | - * @param bool $giveAgency |
|
| 173 | 172 | */ |
| 174 | 173 | public function __construct(User $user, User $followedUser) |
| 175 | 174 | { |
@@ -247,7 +246,7 @@ discard block |
||
| 247 | 246 | * Add followedUsers |
| 248 | 247 | * |
| 249 | 248 | * @param UserFollowedUser $followedUsers |
| 250 | - * @return User |
|
| 249 | + * @return DDC2138User |
|
| 251 | 250 | */ |
| 252 | 251 | public function addFollowedUser(UserFollowedUser $followedUsers) |
| 253 | 252 | { |
@@ -260,7 +259,7 @@ discard block |
||
| 260 | 259 | * Remove followedUsers |
| 261 | 260 | * |
| 262 | 261 | * @param UserFollowedUser $followedUsers |
| 263 | - * @return User |
|
| 262 | + * @return DDC2138User |
|
| 264 | 263 | */ |
| 265 | 264 | public function removeFollowedUser(UserFollowedUser $followedUsers) |
| 266 | 265 | { |
@@ -272,7 +271,7 @@ discard block |
||
| 272 | 271 | /** |
| 273 | 272 | * Get followedUsers |
| 274 | 273 | * |
| 275 | - * @return Doctrine\Common\Collections\Collection |
|
| 274 | + * @return ArrayCollection |
|
| 276 | 275 | */ |
| 277 | 276 | public function getFollowedUsers() |
| 278 | 277 | { |
@@ -283,7 +282,7 @@ discard block |
||
| 283 | 282 | * Add followedStructures |
| 284 | 283 | * |
| 285 | 284 | * @param UserFollowedStructure $followedStructures |
| 286 | - * @return User |
|
| 285 | + * @return DDC2138User |
|
| 287 | 286 | */ |
| 288 | 287 | public function addFollowedStructure(UserFollowedStructure $followedStructures) |
| 289 | 288 | { |
@@ -296,7 +295,7 @@ discard block |
||
| 296 | 295 | * Remove followedStructures |
| 297 | 296 | * |
| 298 | 297 | * @param UserFollowedStructure $followedStructures |
| 299 | - * @return User |
|
| 298 | + * @return DDC2138User |
|
| 300 | 299 | */ |
| 301 | 300 | public function removeFollowedStructure(UserFollowedStructure $followedStructures) |
| 302 | 301 | { |
@@ -308,7 +307,7 @@ discard block |
||
| 308 | 307 | /** |
| 309 | 308 | * Get followedStructures |
| 310 | 309 | * |
| 311 | - * @return Doctrine\Common\Collections\Collection |
|
| 310 | + * @return ArrayCollection |
|
| 312 | 311 | */ |
| 313 | 312 | public function getFollowedStructures() |
| 314 | 313 | { |
@@ -217,6 +217,9 @@ |
||
| 217 | 217 | $this->privileges = new ArrayCollection(); |
| 218 | 218 | } |
| 219 | 219 | |
| 220 | + /** |
|
| 221 | + * @param DDC2252Privilege $privilege |
|
| 222 | + */ |
|
| 220 | 223 | public function addPrivilege($privilege) |
| 221 | 224 | { |
| 222 | 225 | $this->privileges[] = $privilege; |
@@ -76,11 +76,17 @@ |
||
| 76 | 76 | { |
| 77 | 77 | protected $name; |
| 78 | 78 | |
| 79 | + /** |
|
| 80 | + * @param string $name |
|
| 81 | + */ |
|
| 79 | 82 | public function __construct($name) |
| 80 | 83 | { |
| 81 | 84 | $this->name = $name; |
| 82 | 85 | } |
| 83 | 86 | |
| 87 | + /** |
|
| 88 | + * @return string |
|
| 89 | + */ |
|
| 84 | 90 | public function getName() |
| 85 | 91 | { |
| 86 | 92 | return $this->name; |
@@ -139,6 +139,10 @@ discard block |
||
| 139 | 139 | */ |
| 140 | 140 | protected $userProfile; |
| 141 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $name |
|
| 144 | + * @param DDC2862User $userProfile |
|
| 145 | + */ |
|
| 142 | 146 | public function __construct($name, $userProfile = null) |
| 143 | 147 | { |
| 144 | 148 | $this->name = $name; |
@@ -178,7 +182,7 @@ discard block |
||
| 178 | 182 | } |
| 179 | 183 | |
| 180 | 184 | /** |
| 181 | - * @return \Entities\User |
|
| 185 | + * @return User |
|
| 182 | 186 | */ |
| 183 | 187 | public function getUserProfile() |
| 184 | 188 | { |
@@ -209,6 +213,9 @@ discard block |
||
| 209 | 213 | */ |
| 210 | 214 | protected $name; |
| 211 | 215 | |
| 216 | + /** |
|
| 217 | + * @param string $name |
|
| 218 | + */ |
|
| 212 | 219 | public function __construct($name) |
| 213 | 220 | { |
| 214 | 221 | $this->name = $name; |
@@ -112,6 +112,7 @@ |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * Set file |
| 115 | + * @param DDC353File $value |
|
| 115 | 116 | */ |
| 116 | 117 | public function setFile($value) |
| 117 | 118 | { |
@@ -31,6 +31,9 @@ |
||
| 31 | 31 | /** @Embedded(class="DDC3582Embeddable1") @var DDC3582Embeddable1 */ |
| 32 | 32 | public $embeddable1; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $id |
|
| 36 | + */ |
|
| 34 | 37 | public function __construct($id) |
| 35 | 38 | { |
| 36 | 39 | $this->id = $id; |
@@ -200,6 +200,9 @@ discard block |
||
| 200 | 200 | */ |
| 201 | 201 | public $address; |
| 202 | 202 | |
| 203 | + /** |
|
| 204 | + * @param string $address |
|
| 205 | + */ |
|
| 203 | 206 | public function __construct($address) |
| 204 | 207 | { |
| 205 | 208 | $this->address = $address; |
@@ -226,6 +229,9 @@ discard block |
||
| 226 | 229 | */ |
| 227 | 230 | public $name; |
| 228 | 231 | |
| 232 | + /** |
|
| 233 | + * @param string $name |
|
| 234 | + */ |
|
| 229 | 235 | public function __construct($name) |
| 230 | 236 | { |
| 231 | 237 | $this->name = $name; |