Skip to content

Commit 56581bb

Browse files
committed
Removed return type to not conflict with parent class.
1 parent 9d5f0f1 commit 56581bb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.8.8] - 2020-07-02
8+
### Fixed
9+
- return type of `applyScopes` to match parent class.
10+
711
## [0.8.7] - 2020-07-02
812
### Added
913
- check for scopes to avoid them being applied twice. Thanks @saernz!

src/Traits/Caching.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __call($method, $parameters)
3232
return $result;
3333
}
3434

35-
public function applyScopes() : self
35+
public function applyScopes()
3636
{
3737
if ($this->scopesAreApplied) {
3838
return $this;

0 commit comments

Comments
 (0)