@@ -31,7 +31,7 @@ abstract class AbstractAdapter implements AdapterInterface
3131 * Checks the length of a barcode
3232 *
3333 * @param string $value The barcode to check for proper length
34- * @return boolean
34+ * @return bool
3535 */
3636 public function hasValidLength ($ value )
3737 {
@@ -71,7 +71,7 @@ public function hasValidLength($value)
7171 * Checks for allowed characters within the barcode
7272 *
7373 * @param string $value The barcode to check for allowed characters
74- * @return boolean
74+ * @return bool
7575 */
7676 public function hasValidCharacters ($ value )
7777 {
@@ -102,7 +102,7 @@ public function hasValidCharacters($value)
102102 * Validates the checksum
103103 *
104104 * @param string $value The barcode to check the checksum for
105- * @return boolean
105+ * @return bool
106106 */
107107 public function hasValidChecksum ($ value )
108108 {
@@ -160,16 +160,16 @@ protected function setChecksum($checksum)
160160 /**
161161 * Sets the checksum validation, if no value is given, the actual setting is returned
162162 *
163- * @param boolean $check
164- * @return AbstractAdapter|boolean
163+ * @param bool $check
164+ * @return AbstractAdapter|bool
165165 */
166166 public function useChecksum ($ check = null )
167167 {
168168 if ($ check === null ) {
169169 return $ this ->options ['useChecksum ' ];
170170 }
171171
172- $ this ->options ['useChecksum ' ] = (boolean ) $ check ;
172+ $ this ->options ['useChecksum ' ] = (bool ) $ check ;
173173 return $ this ;
174174 }
175175
@@ -202,7 +202,7 @@ protected function setCharacters($characters)
202202 * GTIN implementation factor 3
203203 *
204204 * @param string $value The barcode to validate
205- * @return boolean
205+ * @return bool
206206 */
207207 protected function gtin ($ value )
208208 {
@@ -232,7 +232,7 @@ protected function gtin($value)
232232 * IDENTCODE implementation factors 9 and 4
233233 *
234234 * @param string $value The barcode to validate
235- * @return boolean
235+ * @return bool
236236 */
237237 protected function identcode ($ value )
238238 {
@@ -262,7 +262,7 @@ protected function identcode($value)
262262 * CODE25 implementation factor 3
263263 *
264264 * @param string $value The barcode to validate
265- * @return boolean
265+ * @return bool
266266 */
267267 protected function code25 ($ value )
268268 {
@@ -292,7 +292,7 @@ protected function code25($value)
292292 * POSTNET implementation
293293 *
294294 * @param string $value The barcode to validate
295- * @return boolean
295+ * @return bool
296296 */
297297 protected function postnet ($ value )
298298 {
0 commit comments