Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Feb 27, 2018
1 parent d65d772 commit 1f57317
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Doctrine/EntityRegenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ private function generateClass(ClassMetadata $metadata): string
throw new RuntimeCommandException(sprintf('Cannot determine where to generate the class "%s". This could be a bug in the library - please open an issue with your setup details.', $metadata->name));
}

// Get namespace by removing the last component of the FQCN
$this->generator->generate([
'class_namespace' => $metadata->namespace,
'class_name' => Str::getShortClassName($metadata->name),
Expand Down
5 changes: 4 additions & 1 deletion src/Doctrine/RelationManyToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

use Symfony\Bundle\MakerBundle\Str;

class RelationManyToMany extends BaseCollectionRelation
/**
* @internal
*/
final class RelationManyToMany extends BaseCollectionRelation
{
private $isOwning;

Expand Down
5 changes: 4 additions & 1 deletion src/Doctrine/RelationOneToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

use Symfony\Bundle\MakerBundle\Str;

class RelationOneToMany extends BaseCollectionRelation
/**
* @internal
*/
final class RelationOneToMany extends BaseCollectionRelation
{
private $orphanRemoval;

Expand Down
5 changes: 4 additions & 1 deletion src/Doctrine/RelationOneToOne.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

use Symfony\Bundle\MakerBundle\Str;

class RelationOneToOne extends BaseSingleRelation
/**
* @internal
*/
final class RelationOneToOne extends BaseSingleRelation
{
private $isOwning;

Expand Down

0 comments on commit 1f57317

Please sign in to comment.