Enforced property types comments in one line

This commit is contained in:
Alejandro Celaya
2018-11-20 19:30:27 +01:00
parent 15a70d0157
commit 0ae5a53d86
161 changed files with 303 additions and 903 deletions

View File

@@ -16,13 +16,9 @@ use function sprintf;
class DeleteShortCodeCommandTest extends TestCase
{
/**
* @var CommandTester
*/
/** @var CommandTester */
private $commandTester;
/**
* @var ObjectProphecy
*/
/** @var ObjectProphecy */
private $service;
public function setUp()

View File

@@ -20,17 +20,11 @@ use function substr_count;
class GeneratePreviewCommandTest extends TestCase
{
/**
* @var CommandTester
*/
/** @var CommandTester */
protected $commandTester;
/**
* @var ObjectProphecy
*/
/** @var ObjectProphecy */
private $previewGenerator;
/**
* @var ObjectProphecy
*/
/** @var ObjectProphecy */
private $shortUrlService;
public function setUp()

View File

@@ -17,13 +17,9 @@ use Symfony\Component\Console\Tester\CommandTester;
class GenerateShortUrlCommandTest extends TestCase
{
/**
* @var CommandTester
*/
/** @var CommandTester */
protected $commandTester;
/**
* @var ObjectProphecy
*/
/** @var ObjectProphecy */
protected $urlShortener;
public function setUp()

View File

@@ -20,13 +20,9 @@ use function strpos;
class GetVisitsCommandTest extends TestCase
{
/**
* @var CommandTester
*/
/** @var CommandTester */
protected $commandTester;
/**
* @var ObjectProphecy
*/
/** @var ObjectProphecy */
protected $visitsTracker;
public function setUp()

View File

@@ -16,13 +16,9 @@ use Zend\Paginator\Paginator;
class ListShortUrlsCommandTest extends TestCase
{
/**
* @var CommandTester
*/
/** @var CommandTester */
protected $commandTester;
/**
* @var ObjectProphecy
*/
/** @var ObjectProphecy */
protected $shortUrlService;
public function setUp()

View File

@@ -16,13 +16,9 @@ use const PHP_EOL;
class ResolveUrlCommandTest extends TestCase
{
/**
* @var CommandTester
*/
/** @var CommandTester */
protected $commandTester;
/**
* @var ObjectProphecy
*/
/** @var ObjectProphecy */
protected $urlShortener;
public function setUp()