Skip to content

Commit

Permalink
Revert "Don't use PhpStorm stubs for Ds\\ extension"
Browse files Browse the repository at this point in the history
This reverts commit 13d0f3d.
  • Loading branch information
ondrejmirtes committed Jun 16, 2020
1 parent 0b855c7 commit d249aba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(

public function hasClass(string $className): bool
{
if ($this->phpStormStubsSourceStubber->hasClass($className) && $className !== \Generator::class && strpos($className, 'Ds\\') !== 0) {
if ($this->phpStormStubsSourceStubber->hasClass($className) && $className !== \Generator::class) {
// check that userland class isn't aliased to the same name as a class from stubs
if (!class_exists($className, false)) {
return false;
Expand Down

0 comments on commit d249aba

Please sign in to comment.