Remove default return hint

This commit is contained in:
Bart Visscher 2013-05-13 08:16:41 +02:00
parent 061fb79e5c
commit 009e9559f3
1 changed files with 0 additions and 9 deletions

View File

@ -28,7 +28,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function emergency($message, array $context = array()) { public function emergency($message, array $context = array()) {
$this->log(\OC_Log::FATAL, $message, $context); $this->log(\OC_Log::FATAL, $message, $context);
@ -42,7 +41,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function alert($message, array $context = array()) { public function alert($message, array $context = array()) {
$this->log(self::ALERT, $message, $context); $this->log(self::ALERT, $message, $context);
@ -55,7 +53,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function critical($message, array $context = array()) { public function critical($message, array $context = array()) {
$this->log(self::CRITICAL, $message, $context); $this->log(self::CRITICAL, $message, $context);
@ -67,7 +64,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function error($message, array $context = array()) { public function error($message, array $context = array()) {
$this->log(\OC_Log::ERROR, $message, $context); $this->log(\OC_Log::ERROR, $message, $context);
@ -81,7 +77,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function warning($message, array $context = array()) { public function warning($message, array $context = array()) {
$this->log(\OC_Log::WARN, $message, $context); $this->log(\OC_Log::WARN, $message, $context);
@ -92,7 +87,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function notice($message, array $context = array()) { public function notice($message, array $context = array()) {
$this->log(self::NOTICE, $message, $context); $this->log(self::NOTICE, $message, $context);
@ -105,7 +99,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function info($message, array $context = array()) { public function info($message, array $context = array()) {
$this->log(\OC_Log::INFO, $message, $context); $this->log(\OC_Log::INFO, $message, $context);
@ -116,7 +109,6 @@ class Log {
* *
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
public function debug($message, array $context = array()) { public function debug($message, array $context = array()) {
$this->log(\OC_Log::DEBUG, $message, $context); $this->log(\OC_Log::DEBUG, $message, $context);
@ -128,7 +120,6 @@ class Log {
* @param mixed $level * @param mixed $level
* @param string $message * @param string $message
* @param array $context * @param array $context
* @return null
*/ */
protected function log($level, $message, array $context = array()) { protected function log($level, $message, array $context = array()) {
if (isset($context['app'])) { if (isset($context['app'])) {