Update the Collection namespace
This commit is contained in:
parent
864c2429a5
commit
509d526661
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue