| @@ -10,9 +10,9 @@ | ||
| 10 | 10 | |
| 11 | 11 | namespace TUTOR; |
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | - * Custom Validation Trait | |
| 14 | + * Custom Valaidation Trait | |
| 15 | 15 | * |
| 16 | 16 | * @since 2.0.0 |
| 17 | 17 | */ |
| 18 | 18 | trait Custom_Validation { |
| @@ -25,8 +25,8 @@ | ||
| 25 | 25 | * @param string $order sorting order. |
| 26 | 26 | * @return bool |
| 27 | 27 | */ |
| 28 | 28 | public function validate_order( $order ) { |
| 29 | - return in_array( strtolower( $order ), array( 'asc', 'desc' ), true ); | |
| 29 | + return in_array( strtolower( $order ), array( 'asc', 'desc' ) ); | |
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | |