<?php
namespace Creode\Environment\Docker\System;

use Creode\System\Command;

class Docker extends Command
{
    const COMMAND = 'docker';
    
    public function cleanup($path)
    {
        $this->run(self::COMMAND, ['container', 'prune', '--force'], $path);
        $this->run(self::COMMAND, ['image', 'prune', '--force'], $path);
        $this->run(self::COMMAND, ['volume', 'prune', '--force'], $path);

        return 'Clean up complete.';
    }

    public function pull($path, $image)
    {
        $this->run(
            self::COMMAND,
            ['pull', $image],
            $path
        );
    }
}

<?php
namespace Creode\Environment\Docker\System;

use Creode\System\Command;

class Docker extends Command
{
    const COMMAND = 'docker';
    
    public function cleanup($path)
    {
        $this->runCommand(self::COMMAND, ['container', 'prune', '--force'], $path);
        $this->runCommand(self::COMMAND, ['image', 'prune', '--force'], $path);
        $this->runCommand(self::COMMAND, ['volume', 'prune', '--force'], $path);

        return 'Clean up complete.';
    }

    public function pull($path, $image)
    {
        $this->runCommand(
            self::COMMAND,
            ['pull', $image],
            $path
        );
    }
}

--- 
+++ 
@@ -9,16 +9,16 @@
     
     public function cleanup($path)
     {
-        $this->runCommand(self::COMMAND, ['container', 'prune', '--force'], $path);
-        $this->runCommand(self::COMMAND, ['image', 'prune', '--force'], $path);
-        $this->runCommand(self::COMMAND, ['volume', 'prune', '--force'], $path);
+        $this->run(self::COMMAND, ['container', 'prune', '--force'], $path);
+        $this->run(self::COMMAND, ['image', 'prune', '--force'], $path);
+        $this->run(self::COMMAND, ['volume', 'prune', '--force'], $path);
 
         return 'Clean up complete.';
     }
 
     public function pull($path, $image)
     {
-        $this->runCommand(
+        $this->run(
             self::COMMAND,
             ['pull', $image],
             $path
Update broken run command function name
