Code Duplication    Length = 13-18 lines in 3 locations

htdocs/class/libraries/vendor/raveren/kint/Kint.class.php 3 locations

@@ 730-742 (lines=13) @@
727
}
728
729
730
if ( !function_exists( 'd' ) ) {
731
	/**
732
	 * Alias of Kint::dump()
733
	 *
734
	 * @return string
735
	 */
736
	function d()
737
	{
738
		if ( !Kint::enabled() ) return '';
739
		$_ = func_get_args();
740
		return call_user_func_array( array( 'Kint', 'dump' ), $_ );
741
	}
742
}
743
744
if ( !function_exists( 'dd' ) ) {
745
	/**
@@ 744-761 (lines=18) @@
741
	}
742
}
743
744
if ( !function_exists( 'dd' ) ) {
745
	/**
746
	 * Alias of Kint::dump()
747
	 * [!!!] IMPORTANT: execution will halt after call to this function
748
	 *
749
	 * @return string
750
	 * @deprecated
751
	 */
752
	function dd()
753
	{
754
		if ( !Kint::enabled() ) return '';
755
756
		echo "<pre>Kint: dd() is being deprecated, please use ddd() instead</pre>\n";
757
		$_ = func_get_args();
758
		call_user_func_array( array( 'Kint', 'dump' ), $_ );
759
		die;
760
	}
761
}
762
763
if ( !function_exists( 'ddd' ) ) {
764
	/**
@@ 763-777 (lines=15) @@
760
	}
761
}
762
763
if ( !function_exists( 'ddd' ) ) {
764
	/**
765
	 * Alias of Kint::dump()
766
	 * [!!!] IMPORTANT: execution will halt after call to this function
767
	 *
768
	 * @return string
769
	 */
770
	function ddd()
771
	{
772
		if ( !Kint::enabled() ) return '';
773
		$_ = func_get_args();
774
		call_user_func_array( array( 'Kint', 'dump' ), $_ );
775
		die;
776
	}
777
}
778
779
if ( !function_exists( 's' ) ) {
780
	/**