4242 *
4343 * @author Francois Zaninotto
4444 *
45- * @phpstan-template TType of \Propel\Runtime\ActiveRecord\ActiveRecordInterface
4645 * @phpstan-template T
4746 * @phpstan-implements \ArrayAccess<string|int, T>
4847 * @phpstan-implements \IteratorAggregate<T>
4948 */
5049class Collection implements ArrayAccess, IteratorAggregate, Countable, Serializable
5150{
5251 /**
53- * @phpstan-var class-string<TType >
52+ * @phpstan-var class-string<\Propel\Runtime\ActiveRecord\ActiveRecordInterface >
5453 *
5554 * @var string|null
5655 */
@@ -59,14 +58,14 @@ class Collection implements ArrayAccess, IteratorAggregate, Countable, Serializa
5958 /**
6059 * The fully qualified classname of the model
6160 *
62- * @phpstan-var class-string<TType >
61+ * @phpstan-var class-string<\Propel\Runtime\ActiveRecord\ActiveRecordInterface >
6362 *
6463 * @var string|null
6564 */
6665 protected $ fullyQualifiedModel ;
6766
6867 /**
69- * @phpstan-var \Propel\Runtime\Formatter\AbstractFormatter<TType , \Propel\Runtime\Collection\Collection, T>
68+ * @phpstan-var \Propel\Runtime\Formatter\AbstractFormatter<\Propel\Runtime\ActiveRecord\ActiveRecordInterface , \Propel\Runtime\Collection\Collection, T>
7069 *
7170 * @var \Propel\Runtime\Formatter\AbstractFormatter
7271 */
@@ -453,7 +452,7 @@ public function search($element)
453452 * Returns an array of objects present in the collection that
454453 * are not presents in the given collection.
455454 *
456- * @phpstan-param \Propel\Runtime\Collection\Collection<TType, T> $collection
455+ * @phpstan-param \Propel\Runtime\Collection\Collection<T> $collection
457456 *
458457 * @phpstan-return self
459458 *
@@ -511,7 +510,7 @@ public function unserialize($data): void
511510 /**
512511 * Set the model of the elements in the collection
513512 *
514- * @phpstan-param class-string<TType > $model
513+ * @phpstan-param class-string<\Propel\Runtime\ActiveRecord\ActiveRecordInterface > $model
515514 *
516515 * @param string $model Name of the Propel object classes stored in the collection
517516 *
@@ -531,7 +530,7 @@ public function setModel(string $model): void
531530 /**
532531 * Get the model of the elements in the collection
533532 *
534- * @phpstan-return class-string<TType >
533+ * @phpstan-return class-string<\Propel\Runtime\ActiveRecord\ActiveRecordInterface >
535534 *
536535 * @return string Name of the Propel object class stored in the collection
537536 */
@@ -543,7 +542,7 @@ public function getModel(): string
543542 /**
544543 * Get the model of the elements in the collection
545544 *
546- * @phpstan-return class-string<TType >
545+ * @phpstan-return class-string<\Propel\Runtime\ActiveRecord\ActiveRecordInterface >
547546 *
548547 * @return string Fully qualified Name of the Propel object class stored in the collection
549548 */
@@ -571,7 +570,7 @@ public function getTableMapClass(): string
571570 }
572571
573572 /**
574- * @phpstan-param \Propel\Runtime\Formatter\AbstractFormatter<TType , self, T> $formatter
573+ * @phpstan-param \Propel\Runtime\Formatter\AbstractFormatter<\Propel\Runtime\ActiveRecord\ActiveRecordInterface , self, T> $formatter
575574 *
576575 * @param \Propel\Runtime\Formatter\AbstractFormatter $formatter
577576 *
@@ -583,7 +582,7 @@ public function setFormatter(AbstractFormatter $formatter): void
583582 }
584583
585584 /**
586- * @phpstan-return \Propel\Runtime\Formatter\AbstractFormatter<TType , \Propel\Runtime\Collection\Collection, T>
585+ * @phpstan-return \Propel\Runtime\Formatter\AbstractFormatter<\Propel\Runtime\ActiveRecord\ActiveRecordInterface , \Propel\Runtime\Collection\Collection, T>
587586 *
588587 * @return \Propel\Runtime\Formatter\AbstractFormatter
589588 */
0 commit comments