Completed
Push — master ( 6257ee...7420f9 )
by José
82:44 queued 52:54
created
app/SymfonyRequirements.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
      * Adds an optional recommendation in form of a php.ini configuration.
239 239
      *
240 240
      * @param string        $cfgName           The configuration name used for ini_get()
241
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
241
+     * @param string|false $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
242 242
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
243 243
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
244 244
      *                                         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/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * @inheritdoc
74
+     * @param \Symfony\Component\Routing\RouterInterface $router
75
+     * @param string $toolbar
76
+     * @param string $prefix
74 77
      */
75 78
     public function __construct(
76 79
         $router,
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/ToolResourceRights.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @return int
95
+     * @return string
96 96
      */
97 97
     public function getMask()
98 98
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @param mixed $mask
103
+     * @param integer $mask
104 104
      *
105 105
      * @return $this
106 106
      */
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @return array
136
+     * @return string[]
137 137
      */
138 138
     public static function getMaskList()
139 139
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/UserFriendRelationType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -64,6 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Set id
66 66
      *
67
+     * @param integer $id
67 68
      * @return integer
68 69
      */
69 70
     public function setId($id)
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/EventListener/LogoutSuccessHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param UrlGeneratorInterface $urlGenerator
26 26
      * @param AuthorizationChecker $checker
27
-     * @param Storage $storage
27
+     * @param TokenStorage $storage
28 28
      */
29 29
     public function __construct(
30 30
         UrlGeneratorInterface $urlGenerator,
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/SkillRelSkill.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -64,6 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Set id
66 66
      *
67
+     * @param integer $id
67 68
      * @return integer
68 69
      */
69 70
     public function setId($id)
Please login to merge, or discard this patch.
main/inc/lib/system_announcements.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
      * @param int    Whether the announcement should be visible to anonymous users (1) or not (0)
307 307
      * @param string The language for which the announvement should be shown. Leave null for all langages
308 308
      * @param int    Whether to send an e-mail to all users (1) or not (0)
309
-     * @return mixed  insert_id on success, false on failure
309
+     * @return false|string  insert_id on success, false on failure
310 310
      */
311 311
     public static function add_announcement(
312 312
         $title,
Please login to merge, or discard this patch.
main/inc/lib/system/session.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
 class Session implements \ArrayAccess
15 15
 {
16 16
 
17
+    /**
18
+     * @param string $variable
19
+     */
17 20
     static function read($variable, $default = null)
18 21
     {
19 22
         return isset($_SESSION[$variable]) ? $_SESSION[$variable] : $default;
@@ -39,7 +42,7 @@  discard block
 block discarded – undo
39 42
      * Returns true if session has variable set up, false otherwise.
40 43
      *
41 44
      * @param string $variable
42
-     * @return mixed value
45
+     * @return boolean value
43 46
      */
44 47
     static function has($variable)
45 48
     {
Please login to merge, or discard this patch.
main/exercise/export/exercise_import.inc.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -949,7 +949,6 @@
 block discarded – undo
949 949
 /**
950 950
  * Processes an IMS/QTI manifest file: store links to new files to be able to transform them into questions text
951 951
  * @param string $filePath The absolute filepath
952
- * @param array $links List of filepaths changes
953 952
  * @return bool
954 953
  */
955 954
 function qtiProcessManifest($filePath)
Please login to merge, or discard this patch.