´Refactored Dive\Record::fromArray()
just some small code refactoring