@@ -72,15 +72,15 @@ Tables should annotate their entity related methods, their relations and behavio
7272A LocationsTable class would then get the following doc block annotations added if not already present:
7373``` php
7474/**
75- * @method \App\Model\Entity\Location get($primaryKey, array $options = [])
7675 * @method \App\Model\Entity\Location newEmptyEntity()
7776 * @method \App\Model\Entity\Location newEntity(array $data, array $options = [])
7877 * @method array<\App\Model\Entity\Location> newEntities(array $data, array $options = [])
78+ * @method \App\Model\Entity\Location get(mixed $primaryKey, array|string $finder = 'all', \Psr\SimpleCache\CacheInterface|string|null $cache = null, \Closure|string|null $cacheKey = null, mixed ...$args)
7979 * @method \App\Model\Entity\Location|false save(\Cake\Datasource\EntityInterface $entity, array $options = [])
8080 * @method \App\Model\Entity\Location saveOrFail(\Cake\Datasource\EntityInterface $entity, array $options = [])
8181 * @method \App\Model\Entity\Location patchEntity(\Cake\Datasource\EntityInterface $entity, array $data, array $options = [])
8282 * @method array<\App\Model\Entity\Location> patchEntities(iterable $entities, array $data, array $options = [])
83- * @method \App\Model\Entity\Location findOrCreate($search, ?callable $callback = null, array $options = [])
83+ * @method \App\Model\Entity\Location findOrCreate(\Cake\ORM\Query\SelectQuery|callable|array $search, ?callable $callback = null, array $options = [])
8484 * @method \Cake\Datasource\ResultSetInterface<\App\Model\Entity\Location>|false saveMany(iterable $entities, array $options = [])
8585 * @method \Cake\Datasource\ResultSetInterface<\App\Model\Entity\Location> saveManyOrFail(iterable $entities, array $options = [])
8686 * @method \Cake\Datasource\ResultSetInterface<\App\Model\Entity\Location>|false deleteMany(iterable $entities, array $options = [])
0 commit comments