diff --git a/docs/plugin-development-guide/implementation.rst b/docs/plugin-development-guide/implementation.rst index 95a242fa88d..2146df78688 100644 --- a/docs/plugin-development-guide/implementation.rst +++ b/docs/plugin-development-guide/implementation.rst @@ -16,59 +16,27 @@ take a look at :doc:`customizing models`, :doc:`formshouldHaveType(ProductVariant::class); - } - - function it_implements_product_variant_interface(): void - { - $this->shouldImplement(ProductVariantInterface::class); - } - - function it_can_be_available_on_demand(): void - { - $this->isAvailableOnDemand()->shouldReturn(false); - - $this->setAvailableOnDemand(true); - $this->isAvailableOnDemand()->shouldReturn(true); - } - } - -.. code-block:: php - -