Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yondifon committed Oct 19, 2021
1 parent 2c34508 commit f50431b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
14 changes: 14 additions & 0 deletions src/Auth/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ class User extends AuthUser
*/
public $incrementing = false;

/**
* Nano id length.
*
* @var array|int
*/
protected $nanoidLength;

/**
* Nano id prefix.
*
* @var string
*/
protected $nanoidPrefix = '';

/**
* The "type" of the auto-incrementing ID.
*
Expand Down
14 changes: 0 additions & 14 deletions src/Eloquent/InteractsWithNanoid.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@

trait InteractsWithNanoid
{
/**
* Nano id length.
*
* @var array|int
*/
protected $nanoidLength;

/**
* Nano id prefix.
*
* @var string
*/
protected $nanoidPrefix = '';

/**
* Get the nanoid length.
*/
Expand Down
14 changes: 14 additions & 0 deletions src/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ abstract class Model extends EloquentModel
*/
public $incrementing = false;

/**
* Nano id length.
*
* @var array|int
*/
protected $nanoidLength;

/**
* Nano id prefix.
*
* @var string
*/
protected $nanoidPrefix = '';

/**
* The "type" of the auto-incrementing ID.
*
Expand Down

0 comments on commit f50431b

Please sign in to comment.