Completed
Push — master ( 44f3ca...b98c31 )
by Filippo
02:31
created
src/EoC/Doc/DesignDoc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -189,6 +189,9 @@
 block discarded – undo
189 189
   }
190 190
 
191 191
 
192
+  /**
193
+   * @param string $value
194
+   */
192 195
   public function setLanguage($value) {
193 196
     if (!empty($value))
194 197
       $this->meta['language'] = strtolower((string)$value);
Please login to merge, or discard this patch.
src/EoC/Generator/UUID.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -162,6 +162,11 @@  discard block
 block discarded – undo
162 162
   /*
163 163
    * Public API, convert a UUID from one format to another
164 164
    */
165
+
166
+  /**
167
+   * @param integer $from
168
+   * @param integer $to
169
+   */
165 170
   static public function convert($uuid, $from, $to) {
166 171
     $conv = self::$m_convert[$from][$to];
167 172
     if (!isset($conv))
@@ -189,6 +194,11 @@  discard block
 block discarded – undo
189 194
   /*
190 195
    * Generate UUID version 3 and 5 (name based)
191 196
    */
197
+
198
+  /**
199
+   * @param string $hash
200
+   * @param integer $version
201
+   */
192 202
   static private function generateName($ns, $node, $hash, $version) {
193 203
     $ns_fmt = self::detectFormat($ns);
194 204
     $field = self::convert($ns, $ns_fmt, self::FMT_FIELD);
Please login to merge, or discard this patch.
src/EoC/Helper/ArrayHelper.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@
 block discarded – undo
54 54
    * @brief Converts the given JSON into an array.
55 55
    * @param[in] string $json A JSON object.
56 56
    * @param[in] bool $assoc When `true`, returned objects will be converted into associative arrays.
57
+   * @param boolean $assoc
57 58
    * @retval array
58 59
    */
59 60
   public static function fromJson($json, $assoc) {
Please login to merge, or discard this patch.
src/EoC/Message/Request.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -266,6 +266,7 @@  discard block
 block discarded – undo
266 266
    * @param[in] string $path The absolute path of the request.
267 267
    * @param[in] string $queryParams (optional) Associative array of query parameters.
268 268
    * @param[in] string $headerFields (optional) Associative array of header fields.
269
+   * @param string $path
269 270
    */
270 271
   public function __construct($method, $path, array $queryParams = NULL, array $headerFields = NULL) {
271 272
     parent::__construct();
@@ -419,6 +420,8 @@  discard block
 block discarded – undo
419 420
    * @brief This helper forces request to use the Authorization Basic mode.
420 421
    * @param[in] string $userName User name.
421 422
    * @param[in] string $password Password.
423
+   * @param string $userName
424
+   * @param string $password
422 425
    */
423 426
   public function setBasicAuth($userName, $password) {
424 427
     $this->setHeaderField(self::AUTHORIZATION_HF, "Basic ".base64_encode("$userName:$password"));
Please login to merge, or discard this patch.