Skip to content

Commit

Permalink
rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 20, 2022
1 parent 3fc5d9f commit 58e57ed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/ScopeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,6 @@ public function testScope(): void
static::assertCount(2, $user->export());
static::assertSame($scope->toWords($user), $user->scope()->toWords());

// TODO once PHP7.3 support is dropped, we should use WeakReference for owner
// and unset($scope); here
// now we need a clone
// we should fix then also the shortName issue (if it was generated on adding
// to an owner but owner is removed, the shortName should be removed as well)
$scope1 = clone $scope1;
$scope2 = clone $scope2;
$scope = Scope::createOr($scope1, $scope2);
Expand Down

0 comments on commit 58e57ed

Please sign in to comment.