<?php

namespace Orphans\GitDeploy\Events;

use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;

class GitDeployed
{
    use SerializesModels;

    public $commits;

    /**
     * Create a new event instance.
     *
     * @param  Order  $order
     * @return void
     */
    public function __construct($commits)
    {
        $this->commits = $commits;
    }

    /**
     * Get the channels the event should be broadcast on.
     *
     * @return array
     */
    public function broadcastOn()
    {
        return [];
    }
}
<?php

namespace Orphans\GitDeploy\Events;

use Illuminate\Queue\SerializesModels;

class GitDeployed
{
    use SerializesModels;

    public $commits;

    /**
     * Create a new event instance.
     *
     * @param  Order  $order
     * @return void
     */
    public function __construct($commits)
    {
        $this->commits = $commits;
    }

}
Remove boardcast again, not needed.
Remove boardcast again, not needed.
