mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply code style
This commit is contained in:
@@ -61,8 +61,7 @@ class StringHelperTest extends TestCase
|
||||
$this->assertFalse(StringHelpers::isStringable([]));
|
||||
$this->assertFalse(StringHelpers::isStringable((object) []));
|
||||
|
||||
$stringable = new class
|
||||
{
|
||||
$stringable = new class {
|
||||
public function __toString()
|
||||
{
|
||||
return '';
|
||||
@@ -70,8 +69,7 @@ class StringHelperTest extends TestCase
|
||||
};
|
||||
$this->assertTrue(StringHelpers::isStringable($stringable));
|
||||
|
||||
$nonstringable = new class
|
||||
{
|
||||
$nonstringable = new class {
|
||||
};
|
||||
$this->assertFalse(StringHelpers::isStringable($nonstringable));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user