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 {

View file

@ -9,7 +9,7 @@ use Drupal\node\Entity\Node;
use Drupal\opdavies_blog\Entity\Node\Post;
use Drupal\taxonomy\Entity\Term;
use Drupal\taxonomy\TermInterface;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
final class PostFactory {

View file

@ -5,7 +5,7 @@ namespace Drupal\opdavies_talks\Entity\Node;
use Drupal\discoverable_entity_bundle_classes\ContentEntityBundleInterface;
use Drupal\node\Entity\Node;
use Drupal\paragraphs\ParagraphInterface;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
/**
* Defines an talk node class.

View file

@ -9,8 +9,8 @@ use Drupal\core_event_dispatcher\Event\Entity\AbstractEntityEvent;
use Drupal\hook_event_dispatcher\HookEventDispatcherInterface;
use Drupal\opdavies_talks\Entity\Node\Talk;
use Drupal\paragraphs\ParagraphInterface;
use Illuminate\Support\Collection;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Tightenco\Collect\Support\Collection;
/**
* Update a talk node before it's saved.

View file

@ -7,7 +7,7 @@ namespace Drupal\opdavies_talks\Repository;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\opdavies_talks\Entity\Node\Talk;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
final class TalkRepository {

View file

@ -10,7 +10,7 @@ use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\node\NodeInterface;
use Drupal\opdavies_talks\Entity\Node\Talk;
use Drupal\paragraphs\ParagraphInterface;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
final class TalkCounter {

View file

@ -6,7 +6,7 @@ namespace Drupal\Tests\opdavies_talks\Kernel;
use Carbon\Carbon;
use Drupal\views\ResultRow;
use Illuminate\Support\Collection;
use Tightenco\Collect\Support\Collection;
final class TalksPageSortTest extends TalksTestBase {