<?php namespace Pingpong\Modules\Process;

class Updater extends Runner {

    /**
     * Update the dependencies for the specified module by given the module name.
     *
     * @param  string $module
     * @return void
     */
    public function update($module)
    {
        $module = $this->module->get($module);

        $packages = $module->get('require', []);

        chdir(base_path());

        foreach ($packages as $name => $version)
        {
            $package = "\"{$name}:{$version}\"";

            $this->run("composer require {$package}");
        }
    }

}
<?php namespace Pingpong\Modules\Process;

class Updater extends Runner {

    /**
     * Update the dependencies for the specified module by given the module name.
     *
     * @param  string $module
     * @return void
     */
    public function update($module)
    {
        $module = $this->module->findOrFail($module);

        $packages = $module->get('require', []);

        chdir(base_path());

        foreach ($packages as $name => $version)
        {
            $package = "\"{$name}:{$version}\"";

            $this->run("composer require {$package}");
        }
    }

}
Replace call to get method with findOrFail method
Replace call to get method with findOrFail method
