Merge pull request #438 from guilhermesiani/patch-2

refactor: add void return type of update user observer
This commit is contained in:
Dominik Liebler
2021-07-12 15:07:27 +02:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ class UserObserver implements SplObserver
/**
* It is called by the Subject, usually by SplSubject::notify()
*/
public function update(SplSubject $subject)
public function update(SplSubject $subject): void
{
$this->changedUsers[] = clone $subject;
}