/*Given an array of integers, find all the leaders in the array. An element is called a leader if it is greater than all elements to its right. The last element is always a leader.
Migrating an existing codebase? Jump straight to Migrating existing validation with Rector; a companion package automates the bulk of the rewrite.