Completed
Branch develop (288e61)
by Aristeides
02:45
created
includes/styles/class-kirki-styles-customizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 		 *
88 88
 		 * @param string $handle
89 89
 		 * @param string $file
90
-		 * @param array  $deps
90
+		 * @param string[]  $deps
91 91
 		 */
92 92
 		public static function enqueue_customizer_control_script( $handle, $file = null, $deps = array(), $in_footer = false ) {
93 93
 			if ( ( false !== strpos( $file, 'controls/' ) && Kirki_Toolkit::kirki_debug() ) || false === strpos( $file, 'controls/' ) ) {
Please login to merge, or discard this patch.
includes/lib/class-kirki-color.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 		 *
99 99
 		 * @param   string  The rgba color formatted like rgba(r,g,b,a)
100 100
 		 *
101
-		 * @return  string  The alpha value of the color.
101
+		 * @return  integer  The alpha value of the color.
102 102
 		 */
103 103
 		public static function get_alpha_from_rgba( $color ) {
104 104
 			$obj = kirki_wp_color( $color );
Please login to merge, or discard this patch.
includes/class-kirki-sanitize-values.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -205,6 +205,9 @@
 block discarded – undo
205 205
 			return $raw_value . $unit_used;
206 206
 		}
207 207
 
208
+		/**
209
+		 * @param string $value
210
+		 */
208 211
 		public static function filter_number( $value ) {
209 212
 			return filter_var( $value, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION );
210 213
 		}
Please login to merge, or discard this patch.
includes/lib/class-aricolor.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 		 *                          brightness
94 94
 		 * @param $value int|float|string the new value
95 95
 		 *
96
-		 * @return object|null
96
+		 * @return ariColor|null
97 97
 		 */
98 98
 		public function getNew( $property = '', $value = '' ) {
99 99
 			// Check if we're changing any of the rgba values
@@ -129,6 +129,7 @@  discard block
 block discarded – undo
129 129
 		 * Figure out what mode we're using.
130 130
 		 *
131 131
 		 * @param string|array
132
+		 * @param string $color
132 133
 		 *
133 134
 		 * @return string
134 135
 		 */
Please login to merge, or discard this patch.
includes/class-kirki-fonts.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -156,6 +156,9 @@
 block discarded – undo
156 156
 		);
157 157
 	}
158 158
 
159
+	/**
160
+	 * @param string $fontname
161
+	 */
159 162
 	public static function is_google_font( $fontname ) {
160 163
 		if ( array_key_exists( $fontname, self::$google_fonts ) ) {
161 164
 			return true;
Please login to merge, or discard this patch.