mirror of
https://github.com/1sept/oauth2-1sept.git
synced 2024-05-30 17:38:52 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d5db6e092 | |||
| 5a22804f38 |
10
README.md
10
README.md
@@ -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
|
||||
```
|
||||
|
||||
@@ -213,7 +213,7 @@ class SeptemberFirstUser implements ResourceOwnerInterface
|
||||
*/
|
||||
public function isDefaultAvatar(): bool
|
||||
{
|
||||
return $this->getField('avatar_default');
|
||||
return (bool) $this->getField('avatar_default');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user