original_string: public function miniProgram(string $appId, string $refreshToken = null, AccessToken $accessToken = null): MiniProgram
      {
          return new MiniProgram($this->getAuthorizerConfig($appId, $refreshToken), $this->getReplaceServices($accessToken) + [
              'encryptor' => function () {
                  return new Encryptor($this['config']['app_id'], $this['config']['token'], $this['config']['aes_key']);
              },
  
              'auth' => function ($app) {
                  return new Client($app, $this);
              },
          ]);
      }
code: public function miniProgram(string $appId, string $refreshToken = null, AccessToken $accessToken = null): MiniProgram
      {
          return new MiniProgram($this->getAuthorizerConfig($appId, $refreshToken), $this->getReplaceServices($accessToken) + [
              'encryptor' => function () {
                  return new Encryptor($this['config']['app_id'], $this['config']['token'], $this['config']['aes_key']);
              },
  
              'auth' => function ($app) {
                  return new Client($app, $this);
              },
          ]);
      }
code_tokens: public function miniProgram ( string $ appId , string $ refreshToken = null , AccessToken $ accessToken = null ) : MiniProgram { return new MiniProgram ( $ this -> getAuthorizerConfig ( $ appId , $ refreshToken ) , $ this -> getReplaceServices ( $ accessToken ) + [ 'encryptor' => function ( ) { return new Encryptor ( $ this [ 'config' ] [ 'app_id' ] , $ this [ 'config' ] [ 'token' ] , $ this [ 'config' ] [ 'aes_key' ] ) ; } , 'auth' => function ( $ app ) { return new Client ( $ app , $ this ) ; } , ] ) ; }
docstring: Creates the miniProgram application.
  
  @param string                                                    $appId
  @param string|null                                               $refreshToken
  @param \EasyWeChat\OpenPlatform\Authorizer\Auth\AccessToken|null $accessToken
  
  @return \EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Application
docstring_tokens: Creates the miniProgram application .