protected function getChangeVersion(array $changes)
	{
		$version = $this->argument('version');

		if (is_null($version))
		{
			$latest = head(array_keys($changes));

			return array($latest, $changes[$latest]);
		}
		else
		{
			return array($version, array_get($changes, $version, array()));
		}
	}
protected function getChangeVersion(array $changes)
	{
		$version = $this->argument('version');

		if (is_null($version))
		{
			$latest = head(array_keys($changes));

			return array($latest, $changes[$latest]);
		}
		else
		{
			return array($version, array_get($changes, $version, array()));
		}
	}
protected function getChangeVersion ( array $ changes ) { $ version = $ this -> argument ( 'version' ) ; if ( is_null ( $ version ) ) { $ latest = head ( array_keys ( $ changes ) ) ; return array ( $ latest , $ changes [ $ latest ] ) ; } else { return array ( $ version , array_get ( $ changes , $ version , array ( ) ) ) ; } }
Get the change list for the specified version.

@param  array  $changes
@return array
Get the change list for the specified version .