Skip to content

Commit e8a6dde

Browse files
committed
Merge branch '2.3' into 2.6
* 2.3: Remove some useless @group annotations Removed useless strtolower call [Validator] Use strict comparisons in loaders CS: Use "self" keyword instead of class name if possible
2 parents c35f5bc + b6768a3 commit e8a6dde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Definition/Builder/ExprBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public function end()
224224
public static function buildExpressions(array $expressions)
225225
{
226226
foreach ($expressions as $k => $expr) {
227-
if ($expr instanceof ExprBuilder) {
227+
if ($expr instanceof self) {
228228
$if = $expr->ifPart;
229229
$then = $expr->thenPart;
230230
$expressions[$k] = function ($v) use ($if, $then) {

Loader/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function import($resource, $type = null, $ignoreErrors = false, $sourceRe
8282
try {
8383
$loader = $this->resolve($resource, $type);
8484

85-
if ($loader instanceof FileLoader && null !== $this->currentDir) {
85+
if ($loader instanceof self && null !== $this->currentDir) {
8686
// we fallback to the current locator to keep BC
8787
// as some some loaders do not call the parent __construct()
8888
// @deprecated should be removed in 3.0

0 commit comments

Comments
 (0)