2 Commits

2 changed files with 2 additions and 10 deletions

View File

@@ -5,15 +5,7 @@ This package provides [September First](https://api.1sept.ru) integration for [O
## Installation
Add to `composer.json`:
```
"repositories": [{
"type": "vcs",
"url": "https://github.com/1sept/oauth2-1sept"
}],
```
Then execute:
Just execute:
```sh
composer require 1sept/oauth2-1sept
```

View File

@@ -213,7 +213,7 @@ class SeptemberFirstUser implements ResourceOwnerInterface
*/
public function isDefaultAvatar(): bool
{
return $this->getField('avatar_default');
return (bool) $this->getField('avatar_default');
}
/**