Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 84de62e

Browse filesBrowse files
committed
Use ::class keyword when possible
1 parent ebcaaad commit 84de62e
Copy full SHA for 84de62e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Tests/Exception/FlattenExceptionTest.php

Copy file name to clipboardExpand all lines: Tests/Exception/FlattenExceptionTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function () {},
286286

287287
$args = $array[$i++];
288288
$this->assertSame($args[0], 'object');
289-
$this->assertTrue('Closure' === $args[1] || is_subclass_of($args[1], '\Closure'), 'Expect object class name to be Closure or a subclass of Closure.');
289+
$this->assertTrue('Closure' === $args[1] || is_subclass_of($args[1], \Closure::class), 'Expect object class name to be Closure or a subclass of Closure.');
290290

291291
$this->assertSame(['array', [['integer', 1], ['integer', 2]]], $array[$i++]);
292292
$this->assertSame(['array', ['foo' => ['integer', 123]]], $array[$i++]);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.