Completed
Pull Request — dev (#26)
by nonanerz
03:18
created
var/SymfonyRequirements.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      * Adds a mandatory requirement in form of a php.ini configuration.
224 224
      *
225 225
      * @param string        $cfgName           The configuration name used for ini_get()
226
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
226
+     * @param boolean|string $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
227 227
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
228 228
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
229 229
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      * Adds an optional recommendation in form of a php.ini configuration.
242 242
      *
243 243
      * @param string        $cfgName           The configuration name used for ini_get()
244
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
244
+     * @param string|false $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
245 245
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
246 246
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
247 247
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
Please login to merge, or discard this patch.
src/AppBundle/Entity/Event.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @param $users
65
+     * @param User $users
66 66
      *
67 67
      * @return $this
68 68
      */
Please login to merge, or discard this patch.
src/AppBundle/Entity/User.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
     }
410 410
 
411 411
     /**
412
- * @see \Serializable::serialize() 
412
+     * @see \Serializable::serialize() 
413 413
 */
414 414
     public function serialize()
415 415
     {
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
     }
426 426
 
427 427
     /**
428
- * @see \Serializable::unserialize() 
428
+     * @see \Serializable::unserialize() 
429 429
 */
430 430
     public function unserialize($serialized)
431 431
     {
Please login to merge, or discard this patch.
src/AppBundle/Controller/Api/DefaultController.php 1 patch
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@  discard block
 block discarded – undo
12 12
 class DefaultController extends Controller
13 13
 {
14 14
     /**
15
-
16 15
      * @param Request $request
17 16
      * @Route("/login", name="api_login")
18 17
      * @Method("POST")
@@ -24,7 +23,7 @@  discard block
 block discarded – undo
24 23
         $data = json_decode($request->getContent(), true);
25 24
 
26 25
         /**
27
- * @var User $user 
26
+         * @var User $user 
28 27
 */
29 28
         $user = $this->getDoctrine()->getRepository('AppBundle:User')
30 29
             ->findOneBy(['email' => $data['email']]);
Please login to merge, or discard this patch.