コード例 #1
0
 /**
  * @inheritdoc
  */
 public function relationshipUnsupportedType($expected, $actual, $relationshipKey = null)
 {
     return $this->repository->errorWithPointer(self::RELATIONSHIP_UNSUPPORTED_TYPE, $relationshipKey ? P::relationshipType($relationshipKey) : P::type(), ['expected' => $expected, 'actual' => $actual]);
 }