Tabs, not spaces for intendation. Add a docblock to the file/class.

git-svn-id: http://core.svn.wordpress.org/trunk@21257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-07-10 20:32:48 +00:00
parent 2039e3a8f0
commit 6cb67e8817
1 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,12 @@
<?php
/**
* The WordPress Toolbar
*
* @since 3.1.0
*
* @package WordPress
* @subpackage Toolbar
*/
class WP_Admin_Bar {
private $nodes = array();
private $bound = false;
@ -149,13 +157,13 @@ class WP_Admin_Bar {
}
final public function get_nodes() {
if ( ! $nodes = $this->_get_nodes() )
return;
if ( ! $nodes = $this->_get_nodes() )
return;
foreach ( $nodes as &$node ) {
$node = clone $node;
}
return $nodes;
foreach ( $nodes as &$node ) {
$node = clone $node;
}
return $nodes;
}
final protected function _get_nodes() {