mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
Changed fix implementation as recommended
Changed like recommended: https://github.com/maximebf/php-debugbar/pull/227
This commit is contained in:
parent
ee9a189270
commit
d76194f088
@ -11,6 +11,7 @@
|
||||
namespace DebugBar\DataCollector;
|
||||
|
||||
use Psr\Log\AbstractLogger;
|
||||
use DebugBar\DataFormatter\DataFormatterInterface;
|
||||
|
||||
/**
|
||||
* Provides a way to log messages
|
||||
@ -38,7 +39,7 @@ class MessagesCollector extends AbstractLogger implements DataCollectorInterface
|
||||
*
|
||||
* @param DataFormatterInterface $formater
|
||||
*/
|
||||
public function setDataFormatter(\DebugBar\DataFormatter\DataFormatterInterface $formater)
|
||||
public function setDataFormatter(DataFormatterInterface $formater)
|
||||
{
|
||||
$this->dataFormater = $formater;
|
||||
return $this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user