Used fix from Stardog/phpwebsite@4f1fa604b3308f8799b42a642ad3a27f8644b11a