Skip to content

Commit

Permalink
Fix small bug in time tracking (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
coccoinomane authored Apr 30, 2018
1 parent b668f82 commit c802840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static function time( string $name ) {

if ( ! isset( self::$time_tracking[ $name ] ) ) {
self::$time_tracking[ $name ] = microtime( true );
return true;
return self::$time_tracking[ $name ];
}
else {
return false;
Expand Down

0 comments on commit c802840

Please sign in to comment.