add namespace to tests (more likely use case)

This commit is contained in:
TomasVotruba 2017-09-29 17:55:24 +02:00
parent 0b4a4cbea8
commit ff91d0f556
2 changed files with 12 additions and 9 deletions

View File

@ -1,12 +1,13 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);
class SomeClass
namespace SomeNamespace;
use Nette\Object;
class SomeClass extends Object
{
use \Nette\SmartObject;
public function getValue()
{
return $this->value;
}
}

View File

@ -1,10 +1,12 @@
<?php declare (strict_types=1);
<?php declare(strict_types=1);
namespace SomeNamespace;
use Nette\Object;
/**
* @method getValue()
*/
class SomeClass
class SomeClass extends Object
{
use \Nette\SmartObject;
}