We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d941835 commit dac5c8dCopy full SHA for dac5c8d
1 file changed
src/Config/ExpectationsPath.php
@@ -14,7 +14,7 @@ class ExpectationsPath
14
15
public function __construct(string $path = '')
16
{
17
- if ('' === $path) {
+ if ('' !== $path) {
18
$this->set($path);
19
}
20
@@ -34,7 +34,7 @@ private function set(string $path): void
34
*/
35
public function getExpectationsFiles(): iterable
36
37
- if ('' !== $this->path) {
+ if ('' === $this->path) {
38
return [];
39
40
if (!is_dir($this->path)) {
0 commit comments