Skip to content

Commit 1190bb6

Browse files
committed
Merge branch 'release/2.0.1-beta'
2 parents 4a2da70 + 1df472d commit 1190bb6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
### Fixed
10+
- Fixed operation self class reference for the `Operation::start()` method.
911

1012
## [2.0.0-beta] - 2020-03-03
1113
### Changed

src/Operations/Operation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ abstract class Operation implements Contracts\Operation
1515
public static function start(): self
1616
{
1717
try {
18-
return Container::getInstance()->make(__CLASS__, func_get_args());
18+
return Container::getInstance()->make(static::class, func_get_args());
1919
} catch (BindingResolutionException $e) {
2020
report($e);
2121
}

0 commit comments

Comments
 (0)