src/pcccbhandler.php
public function handler($success, $message)
    {
        if (!$success && $this->success)
        {
            $this->success = false;
            $this->first_error_message = $message;
        }
        $this->num_calls -= 1;
        if ($this->num_calls <= 0)
        {
            $this->completed = true;
            $cb = $this->callback;
            call_user_func($cb, $this->success, $this->first_error_message);
        }
    }
public function handler($success, $message)
    {
        if (!$success && $this->success)
        {
            $this->success = false;
            $this->first_error_message = $message;
        }
        $this->num_calls -= 1;
        if ($this->num_calls <= 0)
        {
            $this->completed = true;
            $cb = $this->callback;
            call_user_func($cb, $this->success, $this->first_error_message);
        }
    }
method.