loduis / teamwork.com-project-management

PHP API for Teamwork.com
https://developer.teamwork.com/
MIT License
70 stars 59 forks source link

Usage of current() is deprecated since PHP 8.1 #60

Open tkaufmann opened 3 weeks ago

tkaufmann commented 3 weeks ago

I'm not a PHP rockstar but I suppose the problem could be solved by replacing

current($array);

by

$array[0];

in Response/JSON.php lines 68, 73 and 85.