Use array-intersect instead of 2 in_array calls
Use array-intersect instead of 2 in_array calls

if either value is present, the array will return it

greew/cakephp-shadow-translate,Noodlex/cakephp-shadow-translate,lorenzo/cakephp-shadow-translate,AD7six/cakephp-shadow-translate