Skip to content

Commit e730593

Browse files
committed
Move Generator class
1 parent 23fc915 commit e730593

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/Commands/GenerateDocumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
use Illuminate\Console\Command;
88
use Mpociot\Reflection\DocBlock;
99
use Illuminate\Support\Collection;
10+
use Mpociot\ApiDoc\Tools\Generator;
1011
use Mpociot\ApiDoc\Tools\RouteMatcher;
1112
use Illuminate\Support\Facades\Storage;
12-
use Mpociot\ApiDoc\Generators\Generator;
1313
use Mpociot\Documentarian\Documentarian;
1414
use Mpociot\ApiDoc\Postman\CollectionWriter;
1515

src/Generators/Generator.php renamed to src/Tools/Generator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<?php
22

3-
namespace Mpociot\ApiDoc\Generators;
3+
namespace Mpociot\ApiDoc\Tools;
44

55
use Faker\Factory;
66
use ReflectionClass;
77
use ReflectionMethod;
88
use Illuminate\Routing\Route;
99
use Mpociot\Reflection\DocBlock;
1010
use Mpociot\Reflection\DocBlock\Tag;
11-
use Mpociot\ApiDoc\Tools\ResponseResolver;
1211

1312
class Generator
1413
{

tests/Unit/GeneratorTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
namespace Mpociot\ApiDoc\Tests\Unit;
44

55
use Orchestra\Testbench\TestCase;
6-
use Mpociot\ApiDoc\Generators\Generator;
6+
use Mpociot\ApiDoc\Tools\Generator;
77
use Mpociot\ApiDoc\ApiDocGeneratorServiceProvider;
88

99
abstract class GeneratorTestCase extends TestCase
1010
{
1111
/**
12-
* @var \Mpociot\ApiDoc\Generators\Generator
12+
* @var \Mpociot\ApiDoc\Tools\Generator
1313
*/
1414
protected $generator;
1515

0 commit comments

Comments
 (0)