Skip to content

Commit 5543e9f

Browse files
author
Robin
committed
Fixed bug where $modelClassName was accessed before it was initialised.
1 parent 6131b8a commit 5543e9f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
### 1.5.7
4+
5+
* Fixed: Bug where `$modelClassName` was accessed before it was initialised.
6+
37
### 1.5.6
48

59
* Changed: Cache location for schema versions nows under TEMP_DIR

src/LoginProviders/ModelLoginProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ class ModelLoginProvider extends LoginProvider
3535

3636
public function __construct($modelClassName)
3737
{
38-
parent::__construct();
39-
4038
$this->modelClassName = $modelClassName;
39+
40+
parent::__construct();
4141
}
4242

4343
/**

0 commit comments

Comments
 (0)