Simplify inline script code

Simplify the rendering of the inline script (using direct markup), eliminating need for using PHP variable to store value using HEREDOC.
Correct classname typo

Correct classname to `BaseOAuth` instead of `BaseClient` in PHP Doc.
Simplify inline script code

Simplify inline script code (removed extra space)
Merge pull request #2884 from kartik-v/patch-15

Correct classname typo
Merge pull request #2883 from kartik-v/patch-14

Simplify inline script code