Now the court has ruled all those claims void ("None of the fiercely disputed Spratly Islands, the UN body found, were “capable of generating extended maritime zones" in the article). However still large parts of the Spratleys lie in the Exclusive Economic Zone of the Philippines.
Here's my understanding: Before the court ruling several countries claimed the Spratleys to be part of their country. This includes the Phillipines which have included the Spraytleys as the municipality Kalayaan: https://en.wikipedia.org/wiki/Kalayaan,_Palawan https://en.wikipedia.org/wiki/File:Ph_Territorial_Map.png
Now the court has ruled all those claims void ("None of the fiercely disputed Spratly Islands, the UN body found, were “capable of generating extended maritime zones" in the article). However still large parts of the Spratleys lie in the Exclusive Economic Zone of the Philippines.