Conservation laws for equations of mixed elliptic-hyperbolic and degenerate types