|
@@ -128,9 +128,9 @@ |
|
|
block discarded – undo |
|
128
|
128
|
* Helper function that lets us determine if a block has any valid attributes. |
|
129
|
129
|
* |
|
130
|
130
|
* @param array $attr Array containing the block attributes. |
|
131
|
|
- * @param array $omit Array containing the block attributes that we ignore. |
|
|
131
|
+ * @param string[] $omit Array containing the block attributes that we ignore. |
|
132
|
132
|
* |
|
133
|
|
- * @return string |
|
|
133
|
+ * @return boolean |
|
134
|
134
|
*/ |
|
135
|
135
|
static function has_attributes( $attr, $omit = array() ) { |
|
136
|
136
|
foreach ( $attr as $attribute => $value ) { |
Please login to merge, or discard this patch.