Skip to content

Commit

Permalink
chore: return type warnings in PsrLogger (#5269)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkruithof authored May 17, 2022
1 parent 2030ded commit ab426cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Logging/src/PsrLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public function __construct(
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function emergency($message, array $context = [])
{
Expand All @@ -180,6 +181,7 @@ public function emergency($message, array $context = [])
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function alert($message, array $context = [])
{
Expand All @@ -197,6 +199,7 @@ public function alert($message, array $context = [])
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function critical($message, array $context = [])
{
Expand All @@ -214,6 +217,7 @@ public function critical($message, array $context = [])
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function error($message, array $context = [])
{
Expand All @@ -231,6 +235,7 @@ public function error($message, array $context = [])
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function warning($message, array $context = [])
{
Expand All @@ -248,6 +253,7 @@ public function warning($message, array $context = [])
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function notice($message, array $context = [])
{
Expand All @@ -265,6 +271,7 @@ public function notice($message, array $context = [])
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function info($message, array $context = [])
{
Expand All @@ -282,6 +289,7 @@ public function info($message, array $context = [])
* @param string $message The message to log.
* @param array $context [optional] Please see {@see Google\Cloud\Logging\PsrLogger::log()}
* for the available options.
* @return void
*/
public function debug($message, array $context = [])
{
Expand Down Expand Up @@ -357,6 +365,7 @@ public function debug($message, array $context = [])
* the current time, generated by the client with microsecond
* precision.
* }
* @return void
* @throws InvalidArgumentException
*/
public function log($level, $message, array $context = [])
Expand Down

0 comments on commit ab426cc

Please sign in to comment.