What is the version of the following sentence with correct punctuation?

The analytes were quantified in different cosmetic samples according to the method developed
The analytes were quantified in different cosmetic samples according to the method developed.