<?php

namespace Platformsh\Cli\Command;

trait HasExamplesTrait
{
    /** @var array */
    protected $examples;

    /**
     * @param string $description
     * @param string $arguments
     *
     * @return self
     */
    protected function addExample($description, $arguments = '')
    {
        $this->examples[$arguments] = $description;

        return $this;
    }
}

<?php

namespace Platformsh\Cli\Command;

trait HasExamplesTrait
{
    /** @var array */
    protected $examples = array();

    /**
     * @param string $description
     * @param string $arguments
     *
     * @return self
     */
    protected function addExample($description, $arguments = '')
    {
        $this->examples[$arguments] = $description;

        return $this;
    }
}

Fix invalid argument supplied for foreach()
Fix invalid argument supplied for foreach()
