Skip to content
Permalink
Browse files

Fix PHPCS errors.

  • Loading branch information...
markstory committed Nov 11, 2016
1 parent 5061c01 commit 979a4985c51c766bff028a612a5a7433da53e3c3
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/Http/ServerRequest.php
@@ -1396,6 +1396,7 @@ public function query($name = null)
if ($name === null) {
return $this->query;
}
return $this->getQuery($name);
}
@@ -1470,7 +1471,7 @@ public function data($name = null, ...$args)
*
* When reading values you will get `null` for keys/values that do not exist.
*
* @param string $name|null Dot separated name of the value to read. Or null to read all data.
* @param string|null $name Dot separated name of the value to read. Or null to read all data.
* @param mixed $default The default data.
* @return mixed The value being read.
*/
@@ -1479,6 +1480,7 @@ public function getData($name = null, $default = null)
if ($name === null) {
return $this->data;
}
return Hash::get($this->data, $name, $default);
}
@@ -1498,6 +1500,7 @@ public function param($name, ...$args)
return $this;
}
return $this->getParam($name);
}

0 comments on commit 979a498

Please sign in to comment.
You can’t perform that action at this time.