Update the Collection namespace

This commit is contained in:
Oliver Davies 2020-12-17 23:25:59 +00:00
parent 864c2429a5
commit 509d526661
9 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Drupal\opdavies_blog\Command;
use Drupal\Core\Database\Connection;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
final class ExportBodyValuesForThemePurgingCommand {

View file

@ -7,7 +7,7 @@ namespace Drupal\opdavies_blog\Entity\Node;
use Drupal\discoverable_entity_bundle_classes\ContentEntityBundleInterface;
use Drupal\node\Entity\Node;
use Drupal\taxonomy\Entity\Term;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
/**
* Defines an blog post node class.

View file

@ -6,7 +6,7 @@ namespace Drupal\opdavies_blog\Repository;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
final class PostRepository {