Completed
Push — php-cs-fixer ( b6f93e...b9836a )
by Fabio
07:15
created
framework/Web/UI/ActiveControls/TActiveTableRowEventParameter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
 
38 38
 	/**
39 39
 	 * Creates a new TActiveTableRowEventParameter.
40
+	 * @param \Prado\Web\THttpResponse $response
40 41
 	 */
41 42
 	public function __construct($response, $parameter, $index = -1)
42 43
 	{
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
 	/**
61 61
 	 * Sets the client side options. Can only be set when client side is null.
62 62
 	 * @param TCallbackClientSide client side options.
63
+	 * @param TActiveCustomValidatorClientSide $client
63 64
 	 */
64 65
 	public function setClientSide($client)
65 66
 	{
@@ -226,6 +227,7 @@  discard block
 block discarded – undo
226 227
 	 * {@link getClientSide ClientSide} property.
227 228
 	 * @param string client side javascript class name.
228 229
 	 * @param array additional callback options.
230
+	 * @param string $class
229 231
 	 */
230 232
 	public function registerCallbackClientScript($class, $options = null)
231 233
 	{
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TBaseActiveControl.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,6 +58,8 @@  discard block
 block discarded – undo
58 58
 	 * @param string option name.
59 59
 	 * @param mixed new value.
60 60
 	 * @param mixed default value.
61
+	 * @param string $name
62
+	 * @param string|boolean $default
61 63
 	 * @return mixed options value.
62 64
 	 */
63 65
 	protected function setOption($name, $value, $default = null)
@@ -72,6 +74,8 @@  discard block
 block discarded – undo
72 74
 	 * named values for the base active controls.
73 75
 	 * @param string option name.
74 76
 	 * @param mixed default value.
77
+	 * @param string $name
78
+	 * @param string|boolean $default
75 79
 	 * @return mixed options value.
76 80
 	 */
77 81
 	protected function getOption($name, $default = null)
@@ -89,7 +93,7 @@  discard block
 block discarded – undo
89 93
 	}
90 94
 
91 95
 	/**
92
-	 * @return TPage the page containing the attached control.
96
+	 * @return \Prado\Web\UI\TPage the page containing the attached control.
93 97
 	 */
94 98
 	protected function getPage()
95 99
 	{
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TCallbackClientScript.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@  discard block
 block discarded – undo
95 95
 	 * Executes a client-side statement.
96 96
 	 * @param string javascript function name
97 97
 	 * @param array list of arguments for the function
98
+	 * @param string $function
98 99
 	 */
99 100
 	public function callClientFunction($function, $params = [])
100 101
 	{
@@ -155,6 +156,7 @@  discard block
 block discarded – undo
155 156
 	 * @param string selection method
156 157
 	 * @param string|int the value or index to select/check.
157 158
 	 * @param string selection control type, either 'check' or 'select'
159
+	 * @param string $type
158 160
 	 */
159 161
 	public function select($control, $method = 'Value', $value = null, $type = null)
160 162
 	{
@@ -424,6 +426,7 @@  discard block
 block discarded – undo
424 426
 	 * @param TControl control element or HTML element id.
425 427
 	 * @param string HTML fragement or the control to be rendered.
426 428
 	 * @param boolean whether to fully replace the element or just its inner content.
429
+	 * @param boolean $self
427 430
 	 * @see insertAbout
428 431
 	 * @see insertBelow
429 432
 	 * @see insertBefore
@@ -482,6 +485,7 @@  discard block
 block discarded – undo
482 485
 	 * Similar to to evaluateScript(), but functions declared in the
483 486
 	 * inline block will be available to page elements.
484 487
 	 * @param THtmlWriter writer for the content.
488
+	 * @param \Prado\TComponent $content
485 489
 	 */
486 490
 	public function appendScriptBlock($content)
487 491
 	{
@@ -503,6 +507,7 @@  discard block
 block discarded – undo
503 507
 	 * component developers. The render() method is defered to be called in the
504 508
 	 * TActivePageAdapter class.
505 509
 	 * @param TControl control to be rendered on callback response.
510
+	 * @param TControl $control
506 511
 	 * @return string the boundary for which the rendered content is wrapped.
507 512
 	 */
508 513
 	private function getRenderedContentBoundary($control)
@@ -515,6 +520,7 @@  discard block
 block discarded – undo
515 520
 
516 521
 	/**
517 522
 	 * @param THtmlWriter the writer responsible for rendering html content.
523
+	 * @param THtmlWriter $html
518 524
 	 * @return string content boundary.
519 525
 	 */
520 526
 	private function getResponseContentBoundary($html)
@@ -534,6 +540,7 @@  discard block
 block discarded – undo
534 540
 	 * @param string visual effect function name.
535 541
 	 * @param TControl control element or element id
536 542
 	 * @param array visual effect key-value pair options.
543
+	 * @param string $type
537 544
 	 */
538 545
 	public function visualEffect($type, $element, $options = [])
539 546
 	{
@@ -641,6 +648,7 @@  discard block
 block discarded – undo
641 648
 	 * @param string visual effect function name.
642 649
 	 * @param TControl control element or element id
643 650
 	 * @param array effect options.
651
+	 * @param string $effect
644 652
 	 */
645 653
 	public function juiEffect($element, $effect, $options = [])
646 654
 	{
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiAutoCompleteEventParameter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@
 block discarded – undo
30 30
 
31 31
 	/**
32 32
 	 * Creates a new TCallbackEventParameter.
33
+	 * @param \Prado\Web\THttpResponse $response
33 34
 	 */
34 35
 	public function __construct($response, $parameter, $index = -1)
35 36
 	{
Please login to merge, or discard this patch.
framework/Web/UI/TClientScriptManager.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,6 +154,7 @@  discard block
 block discarded – undo
154 154
 	 * Registers Prado javascript by library name. See "Web/Javascripts/packages.php"
155 155
 	 * for library names.
156 156
 	 * @param string script library name.
157
+	 * @param string $name
157 158
 	 */
158 159
 	public function registerPradoScript($name)
159 160
 	{
@@ -267,7 +268,7 @@  discard block
 block discarded – undo
267 268
 
268 269
 	/**
269 270
 	 * @param string javascript or css package path.
270
-	 * @return array tuple($path,$url).
271
+	 * @return string[] tuple($path,$url).
271 272
 	 */
272 273
 	protected function getPackagePathUrl($base)
273 274
 	{
@@ -359,6 +360,7 @@  discard block
 block discarded – undo
359 360
 	 * the javascript code registration.
360 361
 	 * @param string javascript class responsible for the control being registered for postback
361 362
 	 * @param array postback options
363
+	 * @param string $class
362 364
 	 */
363 365
 	public function registerPostBackControl($class, $options)
364 366
 	{
@@ -438,6 +440,7 @@  discard block
 block discarded – undo
438 440
 	 * Registers Prado style by library name. See "Web/Javascripts/packages.php"
439 441
 	 * for library names.
440 442
 	 * @param string style library name.
443
+	 * @param string $name
441 444
 	 */
442 445
 	public function registerPradoStyle($name)
443 446
 	{
@@ -618,6 +621,7 @@  discard block
 block discarded – undo
618 621
 	 * Registers a javascript script block at the beginning of the form
619 622
 	 * @param string a unique key identifying the script block
620 623
 	 * @param string javascript block
624
+	 * @param string $key
621 625
 	 */
622 626
 	public function registerBeginScript($key, $script)
623 627
 	{
@@ -646,6 +650,7 @@  discard block
 block discarded – undo
646 650
 	 * @param string a unique key identifying the hidden field
647 651
 	 * @param string|array hidden field value, if the value is an array, every element
648 652
 	 * in the array will be rendered as a hidden field value.
653
+	 * @param string $name
649 654
 	 */
650 655
 	public function registerHiddenField($name, $value)
651 656
 	{
@@ -657,6 +662,7 @@  discard block
 block discarded – undo
657 662
 
658 663
 	/**
659 664
 	 * @param string a unique key
665
+	 * @param string $key
660 666
 	 * @return boolean whether there is a CSS file registered with the specified key
661 667
 	 */
662 668
 	public function isStyleSheetFileRegistered($key)
@@ -693,6 +699,7 @@  discard block
 block discarded – undo
693 699
 
694 700
 	/**
695 701
 	 * @param string a unique key
702
+	 * @param string $key
696 703
 	 * @return boolean whether there is a javascript file registered with the specified key
697 704
 	 */
698 705
 	public function isScriptFileRegistered($key)
@@ -873,6 +880,7 @@  discard block
 block discarded – undo
873 880
 	 * Flushes all pending script registrations
874 881
 	 * @param THtmlWriter writer for the rendering purpose
875 882
 	 * @param TControl the control forcing the flush (used only in error messages)
883
+	 * @param WebControls\TClientScript $control
876 884
 	 */
877 885
 	public function flushScriptFiles($writer, $control = null)
878 886
 	{
@@ -889,6 +897,7 @@  discard block
 block discarded – undo
889 897
 	 * Unfortunately this attribute is invalid for hidden fields, so text fields are
890 898
 	 * rendered instead (#642).
891 899
 	 * @param THtmlWriter writer for the rendering purpose
900
+	 * @param boolean $initial
892 901
 	 */
893 902
 
894 903
 	protected function renderHiddenFieldsInt($writer, $initial)
Please login to merge, or discard this patch.
framework/Web/UI/TControl.php 1 patch
Doc Comments   +24 added lines, -2 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 	 * the control ID will take the precedence.
214 214
 	 *
215 215
 	 * @param string the property name or control ID
216
-	 * @return bool wether the control or property exists
216
+	 * @return boolean|null wether the control or property exists
217 217
 	 * @see __get
218 218
 	 */
219 219
 	public function __isset($name) {
@@ -290,6 +290,7 @@  discard block
 block discarded – undo
290 290
 	 * Sets the page for a control.
291 291
 	 * Only framework developers should use this method.
292 292
 	 * @param TPage the page that contains this control
293
+	 * @param TPage $page
293 294
 	 */
294 295
 	public function setPage($page)
295 296
 	{
@@ -571,6 +572,7 @@  discard block
 block discarded – undo
571 572
 
572 573
 	/**
573 574
 	 * @param boolean whether the control is visible
575
+	 * @param boolean $value
574 576
 	 */
575 577
 	public function setVisible($value)
576 578
 	{
@@ -638,6 +640,7 @@  discard block
 block discarded – undo
638 640
 	}
639 641
 
640 642
 	/**
643
+	 * @param string $name
641 644
 	 * @return boolean whether the named attribute exists
642 645
 	 */
643 646
 	public function hasAttribute($name)
@@ -649,6 +652,7 @@  discard block
 block discarded – undo
649 652
 	}
650 653
 
651 654
 	/**
655
+	 * @param string $name
652 656
 	 * @return string attribute value, null if attribute does not exist
653 657
 	 */
654 658
 	public function getAttribute($name)
@@ -663,6 +667,7 @@  discard block
 block discarded – undo
663 667
 	 * Sets a custom control attribute.
664 668
 	 * @param string attribute name
665 669
 	 * @param string value of the attribute
670
+	 * @param string $name
666 671
 	 */
667 672
 	public function setAttribute($name, $value)
668 673
 	{
@@ -700,6 +705,7 @@  discard block
 block discarded – undo
700 705
 
701 706
 	/**
702 707
 	 * @param boolean set whether to enable viewstate
708
+	 * @param boolean $value
703 709
 	 */
704 710
 	public function setEnableViewState($value)
705 711
 	{
@@ -716,6 +722,8 @@  discard block
 block discarded – undo
716 722
 	 * that must be kept in controlstate.
717 723
 	 * @param string the name of the controlstate value to be returned
718 724
 	 * @param mixed the default value. If $key is not found in controlstate, $defaultValue will be returned
725
+	 * @param string $key
726
+	 * @param integer $defaultValue
719 727
 	 * @return mixed the controlstate value corresponding to $key
720 728
 	 */
721 729
 	protected function getControlState($key, $defaultValue = null)
@@ -732,6 +740,8 @@  discard block
 block discarded – undo
732 740
 	 * @param string the name of the controlstate value
733 741
 	 * @param mixed the controlstate value to be set
734 742
 	 * @param mixed default value. If $value===$defaultValue, the item will be cleared from controlstate
743
+	 * @param string $key
744
+	 * @param integer $defaultValue
735 745
 	 */
736 746
 	protected function setControlState($key, $value, $defaultValue = null)
737 747
 	{
@@ -755,6 +765,7 @@  discard block
 block discarded – undo
755 765
 	 * When it is false, data saved via setViewState() will not be persisted.
756 766
 	 * By default, it is true, meaning data will be persisted across postbacks.
757 767
 	 * @param boolean whether data should be persisted
768
+	 * @param boolean $enabled
758 769
 	 */
759 770
 	public function trackViewState($enabled)
760 771
 	{
@@ -768,6 +779,7 @@  discard block
 block discarded – undo
768 779
 	 * that must be kept in viewstate.
769 780
 	 * @param string the name of the viewstate value to be returned
770 781
 	 * @param mixed the default value. If $key is not found in viewstate, $defaultValue will be returned
782
+	 * @param string $key
771 783
 	 * @return mixed the viewstate value corresponding to $key
772 784
 	 */
773 785
 	public function getViewState($key, $defaultValue = null)
@@ -793,6 +805,7 @@  discard block
 block discarded – undo
793 805
 	 * @param string the name of the viewstate value
794 806
 	 * @param mixed the viewstate value to be set
795 807
 	 * @param mixed default value. If $value===$defaultValue, the item will be cleared from the viewstate.
808
+	 * @param string $key
796 809
 	 */
797 810
 	public function setViewState($key, $value, $defaultValue = null)
798 811
 	{
@@ -814,6 +827,7 @@  discard block
 block discarded – undo
814 827
 	/**
815 828
 	 * Clears a viewstate value.
816 829
 	 * @param string the name of the viewstate value to be cleared
830
+	 * @param string $key
817 831
 	 */
818 832
 	public function clearViewState($key)
819 833
 	{
@@ -919,6 +933,7 @@  discard block
 block discarded – undo
919 933
 	 * Sets a value indicating whether child controls are created.
920 934
 	 * If false, any existing child controls will be cleared up.
921 935
 	 * @param boolean whether child controls are created
936
+	 * @param boolean $value
922 937
 	 */
923 938
 	final protected function setChildControlsCreated($value)
924 939
 	{
@@ -1009,6 +1024,7 @@  discard block
 block discarded – undo
1009 1024
 	 * Finds all child and grand-child controls that are of the specified type.
1010 1025
 	 * @param string the class name
1011 1026
 	 * @param boolean whether the type comparison is strict or not. If false, controls of the parent classes of the specified class will also be returned.
1027
+	 * @param string $type
1012 1028
 	 * @return array list of controls found
1013 1029
 	 */
1014 1030
 	public function findControlsByType($type, $strict = true)
@@ -1069,7 +1085,7 @@  discard block
 block discarded – undo
1069 1085
 	 * A registered object can be accessed like a public member variable.
1070 1086
 	 * This method should only be used by framework and control developers.
1071 1087
 	 * @param string name of the object
1072
-	 * @param object object to be declared
1088
+	 * @param object WebControls\TCheckBox to be declared
1073 1089
 	 * @see __get
1074 1090
 	 */
1075 1091
 	public function registerObject($name, $object)
@@ -1143,6 +1159,7 @@  discard block
 block discarded – undo
1143 1159
 	 * A component with explicit ID on a template will be registered to
1144 1160
 	 * the template owner. This method allows you to obtain this component
1145 1161
 	 * with the ID.
1162
+	 * @param string $name
1146 1163
 	 * @return mixed the named registered object. Null if object is not found.
1147 1164
 	 */
1148 1165
 	public function getRegisteredObject($name)
@@ -1200,6 +1217,7 @@  discard block
 block discarded – undo
1200 1217
 	 * Control lifecycles will be caught up during the addition.
1201 1218
 	 * Only framework developers should use this method.
1202 1219
 	 * @param TControl the new child control
1220
+	 * @param TControl $control
1203 1221
 	 */
1204 1222
 	public function addedControl($control)
1205 1223
 	{
@@ -1245,6 +1263,7 @@  discard block
 block discarded – undo
1245 1263
 	 * Removes a control from the child collection of the control.
1246 1264
 	 * Only framework developers should use this method.
1247 1265
 	 * @param TControl the child control removed
1266
+	 * @param TControl $control
1248 1267
 	 */
1249 1268
 	public function removedControl($control)
1250 1269
 	{
@@ -1496,6 +1515,7 @@  discard block
 block discarded – undo
1496 1515
 	 * @param string name of the broadcast event
1497 1516
 	 * @param TControl sender of the event
1498 1517
 	 * @param TBroadcastEventParameter event parameter
1518
+	 * @param TBroadcastEventParameter $param
1499 1519
 	 */
1500 1520
 	private function broadcastEventInternal($name, $sender, $param)
1501 1521
 	{
@@ -1720,6 +1740,7 @@  discard block
 block discarded – undo
1720 1740
 	 * Clears the cached UniqueID.
1721 1741
 	 * If $recursive=true, all children's cached UniqueID will be cleared as well.
1722 1742
 	 * @param boolean whether the clearing is recursive.
1743
+	 * @param boolean $recursive
1723 1744
 	 */
1724 1745
 	private function clearCachedUniqueID($recursive)
1725 1746
 	{
@@ -1757,6 +1778,7 @@  discard block
 block discarded – undo
1757 1778
 	 * Updates the list of the controls whose IDs are managed by the specified naming container.
1758 1779
 	 * @param TControl the naming container
1759 1780
 	 * @param TControlCollection list of controls
1781
+	 * @param TControl $container
1760 1782
 	 * @throws TInvalidDataValueException if a control's ID is not unique within its naming container.
1761 1783
 	 */
1762 1784
 	private function fillNameTable($container, $controls)
Please login to merge, or discard this patch.
framework/Web/UI/TPage.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -290,6 +290,9 @@  discard block
 block discarded – undo
290 290
 		$this->unloadRecursive();
291 291
 	}
292 292
 
293
+	/**
294
+	 * @param string $enc
295
+	 */
293 296
 	protected static function decodeUTF8($data, $enc)
294 297
 	{
295 298
 		if(is_array($data))
@@ -460,6 +463,7 @@  discard block
 block discarded – undo
460 463
 	 * Returns a list of registered validators.
461 464
 	 * If validation group is specified, only the validators in that group will be returned.
462 465
 	 * @param string validation group
466
+	 * @param string $validationGroup
463 467
 	 * @return TList registered validators in the requested group. If the group is null, all validators will be returned.
464 468
 	 */
465 469
 	public function getValidators($validationGroup = null)
@@ -571,6 +575,7 @@  discard block
 block discarded – undo
571 575
 	 * Applies a skin in the current theme to a control.
572 576
 	 * This method should only be used by framework developers.
573 577
 	 * @param TControl a control to be applied skin with
578
+	 * @param TControl $control
574 579
 	 */
575 580
 	public function applyControlSkin($control)
576 581
 	{
@@ -862,6 +867,8 @@  discard block
 block discarded – undo
862 867
 	 * Processes post data.
863 868
 	 * @param TMap post data to be processed
864 869
 	 * @param boolean whether this method is invoked before {@link onLoad OnLoad}.
870
+	 * @param TMap $postData
871
+	 * @param boolean $beforeLoad
865 872
 	 */
866 873
 	protected function processPostData($postData, $beforeLoad)
867 874
 	{
@@ -987,6 +994,7 @@  discard block
 block discarded – undo
987 994
 	/**
988 995
 	 * Sets input focus on a control after the page is rendered to users.
989 996
 	 * @param TControl|string control to receive focus, or the ID of the element on the page to receive focus
997
+	 * @param TControl $value
990 998
 	 */
991 999
 	public function setFocus($value)
992 1000
 	{
@@ -1072,6 +1080,7 @@  discard block
 block discarded – undo
1072 1080
 	 * Sets the state to be stored on the client side.
1073 1081
 	 * This method should only be used by framework and control developers.
1074 1082
 	 * @param string the state to be stored on the client side
1083
+	 * @param string $state
1075 1084
 	 */
1076 1085
 	public function setClientState($state)
1077 1086
 	{
@@ -1191,6 +1200,8 @@  discard block
 block discarded – undo
1191 1200
 	 * referring to the context object (e.g. Page, Page.ClientScript).
1192 1201
 	 * @param string method name of the context object
1193 1202
 	 * @param array list of parameters to be passed to the action method
1203
+	 * @param string $context
1204
+	 * @param string $funcName
1194 1205
 	 */
1195 1206
 	public function registerCachingAction($context, $funcName, $funcParams)
1196 1207
 	{
Please login to merge, or discard this patch.
framework/Web/UI/TTemplate.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,6 +120,7 @@  discard block
 block discarded – undo
120 120
 	 * @param integer the line number that parsing starts from (internal use)
121 121
 	 * @param boolean whether this template is a source template, i.e., this template is loaded from
122 122
 	 * some external storage rather than from within another template.
123
+	 * @param string $tplFile
123 124
 	 */
124 125
 	public function __construct($template, $contextPath, $tplFile = null, $startingLine = 0, $sourceTemplate = true)
125 126
 	{
@@ -302,6 +303,7 @@  discard block
 block discarded – undo
302 303
 	 * @param TControl control to be configured
303 304
 	 * @param string property name
304 305
 	 * @param mixed property initial value
306
+	 * @param TControl $control
305 307
 	 */
306 308
 	protected function configureControl($control, $name, $value)
307 309
 	{
@@ -318,6 +320,7 @@  discard block
 block discarded – undo
318 320
 	 * @param TComponent component to be configured
319 321
 	 * @param string property name
320 322
 	 * @param mixed property initial value
323
+	 * @param TComponent $component
321 324
 	 */
322 325
 	protected function configureComponent($component, $name, $value)
323 326
 	{
@@ -704,6 +707,8 @@  discard block
 block discarded – undo
704 707
 	/**
705 708
 	 * Parses the attributes of a tag from a string.
706 709
 	 * @param string the string to be parsed.
710
+	 * @param string $str
711
+	 * @param string $offset
707 712
 	 * @return array attribute values indexed by names.
708 713
 	 */
709 714
 	protected function parseAttributes($str, $offset)
@@ -738,6 +743,9 @@  discard block
 block discarded – undo
738 743
 		return $attributes;
739 744
 	}
740 745
 
746
+	/**
747
+	 * @param string $content
748
+	 */
741 749
 	protected function parseTemplateProperty($content, $offset)
742 750
 	{
743 751
 		$line = $this->_startingLine + count(explode("\n", substr($this->_content, 0, $offset))) - 1;
@@ -747,6 +755,7 @@  discard block
 block discarded – undo
747 755
 	/**
748 756
 	 * Parses a single attribute.
749 757
 	 * @param string the string to be parsed.
758
+	 * @param string $value
750 759
 	 * @return array attribute initialization
751 760
 	 */
752 761
 	protected function parseAttribute($value)
@@ -890,6 +899,8 @@  discard block
 block discarded – undo
890 899
 	 * @param Exception template exception
891 900
 	 * @param int line number
892 901
 	 * @param string template string if no source file is used
902
+	 * @param \Exception $e
903
+	 * @param integer $line
893 904
 	 */
894 905
 	protected function handleException($e, $line, $input = null)
895 906
 	{
@@ -959,7 +970,7 @@  discard block
 block discarded – undo
959 970
 
960 971
 	/**
961 972
 	 * Checks if the given method belongs to a previously attached class behavior.
962
-	 * @param ReflectionClass $class
973
+	 * @param \ReflectionClass $class
963 974
 	 * @param string $method
964 975
 	 * @return boolean
965 976
 	 */
Please login to merge, or discard this patch.