<?php

namespace Orchestra\Contracts\Publisher;

interface Publisher
{
    /**
     * Publish extension.
     *
     * @param  string  $name
     *
     * @return void
     */
    public function extension(string $name): void;

    /**
     * Publish Orchestra Platform.
     *
     * @return void
     */
    public function foundation(): void;
}

<?php

namespace Orchestra\Contracts\Publisher;

interface Publisher
{
    /**
     * Publish extension.
     *
     * @param  string  $name
     *
     * @return bool
     */
    public function extension(string $name): bool;

    /**
     * Publish Orchestra Platform.
     *
     * @return bool
     */
    public function foundation(): bool;
}

Return type should be boolean.
Return type should be boolean.

Signed-off-by: Mior Muhammad Zaki <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>
