Skip to content

Commit

Permalink
Incorrect assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
oojacoboo committed Aug 14, 2020
1 parent 5ad6007 commit 4e324e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Annotation/MultiTenancy.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class MultiTenancy
*/
public function __construct(array $values)
{
$this->enable = $values['enable'] ?? $values['enabled'] ?? true;
$this->isEnabled = $values['enable'] ?? $values['enabled'] ?? true;
$this->filters = $values['filters'] ?? [];
}

Expand Down

0 comments on commit 4e324e4

Please sign in to comment.