Skip to content

Commit

Permalink
Upgrading package
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed May 25, 2021
1 parent 66a6634 commit 1aba4cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/en/index.md → .docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The best way to install **fastybird/simple-auth** is using [Composer](http://get
composer require fastybird/simple-auth
```

After that you have to register extension in *config.neon*.
After that, you have to register extension in *config.neon*.

```neon
extensions:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ composer require fastybird/simple-auth

## Documentation

Learn how to use build JWT tokens and handle access to you resources in [documentation](https://github.com/FastyBird/simple-auth/blob/master/docs/en/index.md).
Learn how to use build JWT tokens and handle access to you resources in [documentation](https://github.com/FastyBird/simple-auth/blob/master/.docs/en/index.md).

***
Homepage [https://www.fastybird.com](https://www.fastybird.com) and repository [https://github.com/FastyBird/simple-auth](https://github.com/FastyBird/simple-auth).
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"require" : {
"php" : ">=7.4.0",
"ext-openssl" : "*",
"fastybird/datetime-factory" : "^0.1",
"fastybird/datetime-factory" : "^0.2",
"ipub/doctrine-consistence" : "^0.4",
"ipub/doctrine-crud" : "^3.0",
"ipub/doctrine-dynamic-discriminator-map" : "^1.4",
Expand Down
2 changes: 1 addition & 1 deletion src/Mapping/Driver/Owner.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ private function isValidField(ORM\Mapping\ClassMetadata $classMetadata, string $
{
$mapping = $classMetadata->getFieldMapping($field);

return $mapping !== [] && in_array($mapping['type'], $this->validTypes, true);
return in_array($mapping['type'], $this->validTypes, true);
}

}

0 comments on commit 1aba4cb

Please sign in to comment.