Skip to content
Snippets Groups Projects
Commit 009e9559 authored by Bart Visscher's avatar Bart Visscher
Browse files

Remove default return hint

parent 061fb79e
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,6 @@ class Log { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment