@@ -1264,37 +1264,26 @@ private function getSchema(
12641264 $ relPrimaryMeta = null ,
12651265 $ relIncMeta = null
12661266 ) {
1267+ /** @var Mockery\Mock $schema */
12671268 $ schema = Mockery::mock (SchemaProviderinterface::class);
12681269
1269- /** @noinspection PhpMethodParametersCountMismatchInspection */
12701270 $ schema ->shouldReceive ('getResourceType ' )->zeroOrMoreTimes ()->andReturn ($ type );
1271- /** @noinspection PhpMethodParametersCountMismatchInspection */
12721271 $ schema ->shouldReceive ('getId ' )->zeroOrMoreTimes ()->andReturn ($ idx );
1273- /** @noinspection PhpMethodParametersCountMismatchInspection */
12741272 $ schema ->shouldReceive ('getSelfSubLink ' )->zeroOrMoreTimes ()->andReturn ($ selfLink );
1275- /** @noinspection PhpMethodParametersCountMismatchInspection */
12761273 $ schema ->shouldReceive ('getAttributes ' )->zeroOrMoreTimes ()->andReturn ($ attributes );
1277- /** @noinspection PhpMethodParametersCountMismatchInspection */
12781274 $ schema ->shouldReceive ('getResourceLinks ' )->zeroOrMoreTimes ()->andReturn ($ resourceLinks );
1279- /** @noinspection PhpMethodParametersCountMismatchInspection */
12801275 $ schema ->shouldReceive ('getIncludedResourceLinks ' )->zeroOrMoreTimes ()->andReturn ($ includedResLinks );
1281- /** @noinspection PhpMethodParametersCountMismatchInspection */
12821276 $ schema ->shouldReceive ('isShowAttributesInIncluded ' )->zeroOrMoreTimes ()->andReturn ($ showAttributesInIncluded );
1283- /** @noinspection PhpMethodParametersCountMismatchInspection */
12841277 $ schema ->shouldReceive ('isShowRelationshipsInIncluded ' )->zeroOrMoreTimes ()->andReturn ($ relShipsInIncluded );
1285- /** @noinspection PhpMethodParametersCountMismatchInspection */
12861278 $ schema ->shouldReceive ('getIncludePaths ' )->zeroOrMoreTimes ()->andReturn ($ includePaths );
1287- /** @noinspection PhpMethodParametersCountMismatchInspection */
12881279 $ schema ->shouldReceive ('getPrimaryMeta ' )->zeroOrMoreTimes ()->andReturn ($ primaryMeta );
1289- /** @noinspection PhpMethodParametersCountMismatchInspection */
12901280 $ schema ->shouldReceive ('getLinkageMeta ' )->zeroOrMoreTimes ()->andReturn ($ relationshipMeta );
1291- /** @noinspection PhpMethodParametersCountMismatchInspection */
12921281 $ schema ->shouldReceive ('getInclusionMeta ' )->zeroOrMoreTimes ()->andReturn ($ inclusionMeta );
1293- /** @noinspection PhpMethodParametersCountMismatchInspection */
12941282 $ schema ->shouldReceive ('getRelationshipsPrimaryMeta ' )->zeroOrMoreTimes ()->andReturn ($ relPrimaryMeta );
1295- /** @noinspection PhpMethodParametersCountMismatchInspection */
12961283 $ schema ->shouldReceive ('getRelationshipsInclusionMeta ' )->zeroOrMoreTimes ()->andReturn ($ relIncMeta );
12971284
1285+ /** @var SchemaProviderInterface $schema */
1286+
12981287 return $ schema ;
12991288 }
13001289}
0 commit comments