Completed
Push — master ( fdbeef...265a2d )
by jerome
25:01 queued 21:35
created
src/DP/Core/DistributionBundle/Configurator/Step/DoctrineStep.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return array
194
+     * @return string[]
195 195
      */
196 196
     static public function getDriverKeys()
197 197
     {
Please login to merge, or discard this patch.
src/DP/Core/UserBundle/Entity/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
     /**
269 269
      * Returns the user unique id.
270 270
      *
271
-     * @return mixed
271
+     * @return integer
272 272
      */
273 273
     public function getId()
274 274
     {
Please login to merge, or discard this patch.
src/DP/GameServer/GameServerBundle/Entity/GameServer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -259,6 +259,9 @@
 block discarded – undo
259 259
         return $this->getScreenNameHash($screenName);
260 260
     }
261 261
 
262
+    /**
263
+     * @param string $screenName
264
+     */
262 265
     public function getScreenNameHash($screenName, $hashLength = 20)
263 266
     {
264 267
         $screenName = sha1($screenName);
Please login to merge, or discard this patch.
src/DP/GameServer/SteamServerBundle/Listener/ConfigModifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Get steam query service
37 37
      * 
38
-     * @return Twig_Environment
38
+     * @return \Twig_Environment
39 39
      * @throws Exception 
40 40
      */
41 41
     protected function getTwig()
Please login to merge, or discard this patch.
src/DP/VoipServer/TeamspeakServerBundle/Entity/TeamspeakServer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * Set the port needed by the query
86 86
      *
87 87
      * @param integer $port
88
-     * @return integer
88
+     * @return TeamspeakServer
89 89
      */
90 90
     public function setQueryPort($port)
91 91
     {
Please login to merge, or discard this patch.
src/DP/VoipServer/TeamspeakServerBundle/ServerQuery/QueryGateway.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -130,6 +130,9 @@  discard block
 block discarded – undo
130 130
         return $this->query->serverList();
131 131
     }
132 132
 
133
+    /**
134
+     * @param integer $sid
135
+     */
133 136
     public function startInstance($sid)
134 137
     {
135 138
         $this->needConnected();
@@ -137,6 +140,9 @@  discard block
 block discarded – undo
137 140
         return $this->query->serverStart($sid);
138 141
     }
139 142
 
143
+    /**
144
+     * @param integer $sid
145
+     */
140 146
     public function stopInstance($sid)
141 147
     {
142 148
         $this->needConnected();
Please login to merge, or discard this patch.
src/DP/Core/CoreBundle/Behat/DefaultContext.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         return $this->locatePath($this->generateUrl($route, $parameters));
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $resource
57
+     */
55 58
     protected function getRepository($resource)
56 59
     {
57 60
         return $this->getService('dedipanel.repository.'.$resource);
@@ -327,6 +330,7 @@  discard block
 block discarded – undo
327 330
     /**
328 331
      * @Then /^I should be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
329 332
      * @Then /^I should still be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
333
+     * @param string $property
330 334
      */
331 335
     public function iShouldBeOnTheResourcePage($type, $property, $value)
332 336
     {
@@ -340,6 +344,7 @@  discard block
 block discarded – undo
340 344
     /**
341 345
      * @Given /^I am on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
342 346
      * @Given /^I go to the page of ([^""]*) with ([^""]*) "([^""]*)"$/
347
+     * @param string $property
343 348
      */
344 349
     public function iAmOnTheResourcePage($type, $property, $value)
345 350
     {
@@ -361,6 +366,7 @@  discard block
 block discarded – undo
361 366
 
362 367
     /**
363 368
      * @Given /^I am (building|viewing|editing) ([^""]*) with ([^""]*) "([^""]*)"$/
369
+     * @param string $property
364 370
      */
365 371
     public function iAmDoingSomethingWithResource($action, $type, $property, $value)
366 372
     {
@@ -382,6 +388,7 @@  discard block
 block discarded – undo
382 388
 
383 389
     /**
384 390
      * @Then /^I should be (building|viewing|editing|testing) ([^"]*) with ([^"]*) "([^""]*)"$/
391
+     * @param string $property
385 392
      */
386 393
     public function iShouldBeDoingSomethingWithResource($action, $type, $property, $value)
387 394
     {
@@ -430,6 +437,9 @@  discard block
 block discarded – undo
430 437
         $this->getEntityManager()->flush();
431 438
     }
432 439
 
440
+    /**
441
+     * @param string $downloadUrl
442
+     */
433 443
     public function thereIsPlugin($name, $version, $scriptName, $downloadUrl, $flush = true)
434 444
     {
435 445
         if (null === $plugin = $this->getRepository('plugin')->findOneBy(array('name' => $name))) {
@@ -587,6 +597,9 @@  discard block
 block discarded – undo
587 597
         $this->getEntityManager()->flush();
588 598
     }
589 599
 
600
+    /**
601
+     * @return \DP\Core\MachineBundle\Entity\Machine
602
+     */
590 603
     public function thereIsMachine($username, $privateIp = null, $privateKey = null, $groups = array(), $is64Bit = false, $flush = true)
591 604
     {
592 605
         if (null === $machine = $this->getRepository('machine')->findOneBy(array('username' => $username))) {
Please login to merge, or discard this patch.