FakeExtensibleTwoInterface.php 556 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. declare(strict_types=1);
  8. namespace Magento\TestModuleExtensionAttributes\Api\Data;
  9. use Magento\Framework\Api\ExtensibleDataInterface;
  10. /**
  11. * Fake interface
  12. * to test exception if the method 'getExtensionAttributes' does not return concrete type
  13. */
  14. interface FakeExtensibleTwoInterface extends ExtensibleDataInterface
  15. {
  16. /**
  17. * test incorrect return type
  18. *
  19. * @return int
  20. */
  21. public function getExtensionAttributes();
  22. }