From 51ff73826c681de5f524f01be69d2a150d2aaa00 Mon Sep 17 00:00:00 2001 From: Filip Iulian Pacurar Date: Mon, 2 Mar 2015 19:50:42 +0200 Subject: [PATCH] Update Cnp.php --- src/Cnp.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Cnp.php b/src/Cnp.php index 1e1998d..b213c1c 100644 --- a/src/Cnp.php +++ b/src/Cnp.php @@ -4,12 +4,22 @@ class Cnp { + /** + * @param $cnp + * + * @return bool + */ public static function invalid($cnp) { return ! static::valid($cnp); } + /** + * @param $p_cnp + * + * @return bool + */ public static function valid($p_cnp) { // CNP must have 13 characters