Skip to content

Commit 4b329c1

Browse files
committed
Revert BC breaking Webmozart-assertions
1 parent 37a2d5f commit 4b329c1

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
},
3333
"require": {
3434
"php": ">=5.6",
35-
"simplesamlphp/composer-module-installer": "~1.1",
36-
"webmozart/assert": "~1.4"
35+
"simplesamlphp/composer-module-installer": "~1.1"
3736
},
3837
"require-dev": {
3938
"simplesamlphp/simplesamlphp": "^1.17",

lib/Auth/Ldap.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
use SimpleSAML\Error;
66
use SimpleSAML\Logger;
77

8-
use Webmozart\Assert\Assert;
9-
108
/**
119
* Constants defining possible errors
1210
*/
@@ -409,7 +407,6 @@ public function searchformultiple(
409407
$filter = ($and ? '(&' : '(|').$filter.')';
410408
}
411409
} else {
412-
Assert::string($filters);
413410
$filter = $filters;
414411
}
415412

@@ -857,8 +854,6 @@ public function whoami($searchBase, $searchAttributes)
857854
}
858855
}
859856
} else {
860-
Assert::string($authz_id);
861-
/** @var string $authz_id */
862857
$authz_id = $this->authz_id;
863858
}
864859

0 commit comments

Comments
 (0)