We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a236c5 + db09f90 commit cc792c2Copy full SHA for cc792c2
CHANGELOG.md
@@ -3,6 +3,10 @@
3
4
## Unreleased
5
6
+### Changed
7
+
8
+- `CommonClassesStrategy` is using `self` instead of `static`. Using `static` makes no sense when `CommonClassesStrategy` is final.
9
10
## 1.1.0 - 2016-10-20
11
12
### Added
src/Strategy/CommonClassesStrategy.php
@@ -67,8 +67,8 @@ final class CommonClassesStrategy implements DiscoveryStrategy
67
*/
68
public static function getCandidates($type)
69
{
70
- if (isset(static::$classes[$type])) {
71
- return static::$classes[$type];
+ if (isset(self::$classes[$type])) {
+ return self::$classes[$type];
72
}
73
74
return [];
0 commit comments