Multisite: Fix `switch(` spacing after [37657]
Fixes #36717. git-svn-id: https://develop.svn.wordpress.org/trunk@37658 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c64d63e51a
commit
91f24a7b4e
|
@ -173,7 +173,7 @@ class WP_Network {
|
||||||
* @return bool Whether the property is set.
|
* @return bool Whether the property is set.
|
||||||
*/
|
*/
|
||||||
public function __isset( $key ) {
|
public function __isset( $key ) {
|
||||||
switch( $key ) {
|
switch ( $key ) {
|
||||||
case 'blog_id':
|
case 'blog_id':
|
||||||
case 'site_id':
|
case 'site_id':
|
||||||
return true;
|
return true;
|
||||||
|
@ -194,7 +194,7 @@ class WP_Network {
|
||||||
* @param mixed $value Value to assign to the property.
|
* @param mixed $value Value to assign to the property.
|
||||||
*/
|
*/
|
||||||
public function __set( $key, $value ) {
|
public function __set( $key, $value ) {
|
||||||
switch( $key ) {
|
switch ( $key ) {
|
||||||
case 'blog_id':
|
case 'blog_id':
|
||||||
case 'site_id':
|
case 'site_id':
|
||||||
$this->blog_id = (string) $value;
|
$this->blog_id = (string) $value;
|
||||||
|
|
|
@ -275,7 +275,7 @@ final class WP_Site {
|
||||||
* @param mixed $value Value to assign to the property.
|
* @param mixed $value Value to assign to the property.
|
||||||
*/
|
*/
|
||||||
public function __set( $key, $value ) {
|
public function __set( $key, $value ) {
|
||||||
switch( $key ) {
|
switch ( $key ) {
|
||||||
case 'id':
|
case 'id':
|
||||||
case 'blog_id':
|
case 'blog_id':
|
||||||
$this->blog_id = (string) $value;
|
$this->blog_id = (string) $value;
|
||||||
|
|
Loading…
Reference in New Issue