fixed the warning thrown by array_pop expecting a writable var
Merge pull request #1 from yjv/master

fix warning thrown by array_pop in the guzzle client