Commit a61c8692 by pana1990 Committed by Qiang Xue

fix docs

parent eddbb6be
...@@ -579,7 +579,7 @@ class BaseArrayHelper ...@@ -579,7 +579,7 @@ class BaseArrayHelper
* \yii\helpers\ArrayHelper::sentence($array); * \yii\helpers\ArrayHelper::sentence($array);
* // output : Spain, France, and Italy * // output : Spain, France, and Italy
* *
* // working with options for change behavior * // working with options to change the default behavior
* \yii\helpers\ArrayHelper::sentence($array, ['lastWordConnector' => ' or ']); * \yii\helpers\ArrayHelper::sentence($array, ['lastWordConnector' => ' or ']);
* // output : Spain, France or Italy * // output : Spain, France or Italy
* ~~~ * ~~~
...@@ -589,7 +589,7 @@ class BaseArrayHelper ...@@ -589,7 +589,7 @@ class BaseArrayHelper
* are specially handled: * are specially handled:
* *
* - wordsConnector: The sign or word used to join the elements in arrays with two or * - wordsConnector: The sign or word used to join the elements in arrays with two or
* more elements. By default ', ''. * more elements. By default ', '.
* *
* - twoWordsConnector: The sign or word used to join the elements in arrays with two * - twoWordsConnector: The sign or word used to join the elements in arrays with two
* elements. By default ' and '. * elements. By default ' and '.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment