Completed
Push — master ( 096baa...85634b )
by Louis
26s queued 13s
created
back/src/KI/UserBundle/Service/NotifyService.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -23,6 +23,12 @@
 block discarded – undo
23 23
     }
24 24
 
25 25
     // Persiste des objets notification qui seront retrievables
26
+
27
+    /**
28
+     * @param string $reason
29
+     * @param string $title
30
+     * @param string $message
31
+     */
26 32
     public function notify($reason, $title, $message, $mode = 'to', $recipient = array(), $resource = '')
27 33
     {
28 34
         $notification = new Notification($reason, $title, $message, $mode, $resource);
Please login to merge, or discard this patch.
back/src/KI/CoreBundle/Controller/LikeableController.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
      * Éjecte tous les utilisateurs ne respectant pas la condition
37 37
      * @param  boolean $bool
38
-     * @return boolean
38
+     * @return boolean|null
39 39
      */
40 40
     protected function trust($bool)
41 41
     {
Please login to merge, or discard this patch.
back/src/KI/UserBundle/Factory/UserFactory.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,12 @@
 block discarded – undo
18 18
         $this->eventDispatcher = $eventDispatcher;
19 19
     }
20 20
 
21
+    /**
22
+     * @param string $key
23
+     * @param string $default_value
24
+     *
25
+     * @return string
26
+     */
21 27
     private function array_value($array, $key, $default_value = null)
22 28
     {
23 29
         if (!is_array($array))
Please login to merge, or discard this patch.
back/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.
back/src/KI/CoreBundle/Controller/CoreController.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Éjecte tous les utilisateurs ne respectant pas la condition
39 39
      * @param  boolean $bool
40
-     * @return boolean
40
+     * @return boolean|null
41 41
      */
42 42
     protected function trust($bool)
43 43
     {
@@ -80,7 +80,6 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Génère la réponse relative au traitement d'un formulaire
82 82
      * @param  array  $data   Le formulaire traité
83
-     * @param  object $parent Éventuellement l'objet parent
84 83
      * @return Response
85 84
      */
86 85
     public function formJson($data)
Please login to merge, or discard this patch.