There are two sentences below . I think both of them has same meaning . But i have some doubt about second one. Does it gives same meaning? if you say yes please explain.
The court declared that strike action was illegal.
The court made a declaration that strike action was illegal.