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
commit b521db7c06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}